I am having some issues compiling an exe myself but most of that stems from the version of python I am using. That being said, try using GUI2EXE http://code.google.com/p/gui2exe this program makes the setup file go a lot easier, also it will tie in a few different tools like py2exe which is what I have been working with, also it does include py2app (the mac version). If you decide to go this route please pay careful attention to http://py2exe.org/index.cgi/Tutorial#Step52 if using python26, this bit of instruction could have saved me hours of banging my head on my desk.
> On Thursday, July 01, 2010 3:16 AM King wrote: > Hi, > > I am trying to build python a cross platform python executable builder > to deploy python app. I tried various tools such as py2exe, > pyinstaller, cx_freeze but some how they are not upto the mark except > py2exe. Unfortunately py2exe is working only on windows based systems. > > The task is divide into 3 steps: > 1. Collect all the modules(.pyo, .pyd, .dll, etc) required for your > project. > 2. set up temporary environment for python > 3. run main.py using :python.exe main.py > > Initially I will not be creating an executable using main.py. I would be > using shell scripting to execute the main.py. > > Q1. Which is most efficient way to fine all the modules required by > your "main.py". > Q2. For example, I have copied all the modules in "d:\project\lib\*.*" > python.exe, python.dll, ms*.dll, main.py are copied to "d: > \project". > Before executing "python.exe main.py", I have to set up an > environment var and point it to "d:\project\lib", so > that python.exe can find the path for searching/loading > modules. How do I do that? > Q3. How do you convert your "main.py" into an executable? > > Prashant -- http://mail.python.org/mailman/listinfo/python-list