error occur when using py2exe
sdf
wqh-2 at 263.net
Mon Jul 30 11:23:02 EDT 2001
I type the following,but error appear.
I put the the myscript.py file under d:/python21/program/
I think I must give a directory to the setup ,but when I use
setup(name="myscript",scripts=["/program/myscript.py"],)
error also jump out. How can I fix it
>>> from distutils.core import setup
>>> import py2exe
>>> setup(name="myscript",scripts=["myscript.py"],)
Traceback (most recent call last):
File "<pyshell#2>", line 1, in ?
setup(name="myscript",scripts=["myscript.py"],)
File "d:\python21\lib\distutils\core.py", line 125, in setup
raise SystemExit, \
SystemExit: usage: [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: --help [cmd1 cmd2 ...]
or: --help-commands
or: cmd --help
error: no commands supplied
__________________________________________
DVD´óƬ£¬Ò»ÂÉ10Ôª http://shopping.263.net/category02.htm
ÃÀÈÝÑøÑÕ¡¢¼õ·ÊÊÝÉíÃؾ÷ http://shopping.263.net/category10.htm
More information about the Python-list
mailing list