From: Benjamin H. <spa...@ho...> - 2007-04-23 20:21:21
|
I'm stuck on what should be a simple problem. My project has, of course, more than one python script, but py2exe seems to take only my main.py and ignores all the others. The docs don't seem to say anything about this. How do I tell py2exe to include other scripts? This is my setup.py: from distutils.core import setup import py2exe setup(options={"py2exe":{"optimize":2}}, windows=['src/main.py']) And this is my setup.bat to run it: c:\python24\python -OO setup.py py2exe pause Thanks ahead of time :) _________________________________________________________________ The average US Credit Score is 675. The cost to see yours: $0 by Experian. http://www.freecreditreport.com/pm/default.aspx?sc=660600&bcd=EMAILFOOTERAVERAGE |