
June 21st, 2012, 11:07 AM
|
|
Registered User
|
|
Join Date: Jun 2012
Posts: 8
Time spent in forums: 1 h 1 m 29 sec
Reputation Power: 0
|
|
|
"py2exe" is a new Distutils command that is added when you import py2exe. To use py2exe you need to create a setup.py file to tell Distutils and py2exe what you want to do. Here's a setup.py whose simplicity is appropriate for our sample program...
So their example setup.py script is:
from distutils.core import setup
import py2exe
setup(console=['hello.py'])
Which can be built with
python setup.py py2exe
So I think you are just missing the import. Post your full setup.py if this is not the case so we can debug.
|