I have written a setup.py file to compile a script to a standalone exe. My
error is here:
Traceback (most recent call last):
File "C:\Users\Jack\Desktop\compiler\setup.py", line 4, in <module>
setup(console=["te.py"])
File "C:\Python27\lib\distutils\core.py", line 140, in setup
raise SystemExit, gen_usage(dist.script_name) + "\nerror: %s" % msg
SystemExit: usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts]
...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: no commands supplied
My code is here:
from distutils.core import *
import py2exe
setup(console=["te.py"])
Get back to me asap..
Thanks!
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor