pythoncommand-linewxpythongui2exe

How to run GUI2Exe from command line?


I'm using GUI2Exe to CX_freeze my python app, which is working great... if I want to build it manually.

My next step is to automate this build, so I can build in one step

Is there a way to use the exported setup.py to build? or to call GUI2Exe with some command line parameters to build the project?

Thanks!

Update: So I ran the command manually following the suggestions below: Here's the difference:

Would you be comfortable that they are the same?


Solution

  • As its homepage says, GUI2Exe is just a GUI around different python exe builders, so I guess you should just use your tool of choice directly. As for cx_Freeze, you could find the description of its setup.py options in its manual http://cx-freeze.sourceforge.net/cx_Freeze.html#distutils-setup-script.