[Tutor] py2exe and python 2.2.2 in cygwin

Gregor Lingl glingl@aon.at
Mon Mar 10 17:53:01 2003


Greg Freemyer schrieb:

>I want to create a windows executable.
>
>I found py2exe.  (Better ways??)
>
>I am running python 2.2.2 from inside cygwin and added import py2exe to setup.py
>
>It does not look like I have py2exe available??  I thought it was standard?
>

It isn't:
  http://starship.python.net/crew/theller/py2exe/

Alternative:
 http://www.mcmillan-inc.com/install1.html

HTH, Gregor

>
>==
>When try 
>$ python setup.py py2exe --help
>Traceback (most recent call last):
>  File "setup.py", line 5, in ?
>    import py2exe
>ImportError: No module named py2exe
>==  
>
>Do I need to install distutils?  Or possibly run a Windows native python?
>
>TIA
>Greg
>  
>