Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #11680

Re: How to package a gui with py2exe

References <CAH1jUHDyCB2MHRRtOwSdj_2CPqQaBGYzvbLGd9r=Ak7Res13HA@mail.gmail.com>
Date 2011-08-17 14:44 +0200
Subject Re: How to package a gui with py2exe
From Vlastimil Brom <vlastimil.brom@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.126.1313585049.27778.python-list@python.org> (permalink)

Show all headers | View raw


2011/8/17 Benji Ara. <benjokal@gmail.com>:
> Hello
> I wonder how you package a Tkinter gui with py2exe?
> Thanks
> Benji
>
>
>
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>

Hi,
check the necessary steps on the py2exe homepage
http://www.py2exe.org/index.cgi/Tutorial

in your setup script, you have to use something like the following for
a gui app:

setup(windows=["gui_hello.py"])

instead of console in the sample code
setup(console=['hello.py'])

For more details there are some dedicated pages on the project wiki:
http://www.py2exe.org/index.cgi/FrontPage

hth,
   vbr

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: How to package a gui with py2exe Vlastimil Brom <vlastimil.brom@gmail.com> - 2011-08-17 14:44 +0200

csiph-web