[Tutor] Py2Exe Problems
Alan Gauld
alan.gauld at btinternet.com
Thu Jun 6 08:29:33 CEST 2013
On 06/06/13 02:57, Jack Little wrote:
> 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
So did you supply any commands?
If so what? How did you call it?
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
More information about the Tutor
mailing list