You might have to run your applications in your customer infrastructure but you might not want to give your recipes (python source code) so here are the alternatives depending on your OS:
- windows = py2exe
- mac = py2app
- linux = pyinstaller (freeze doesn't work->compile errors*)
On linux, pyinstaller works quite well but you have to generate it on the same distribution.
Here are the steps:
- download latest version
- python Configure.py
- python Makespec.py /path/to/yourscript.py
- python Build.py /path/to/yourscript.spec
- start app: yourscript/dist/yourscript/yourscript(binary executable)
(*) Freeze instructions:
- svn checkout http://svn.python.org/projects/python/trunk/Tools/freeze/
- python freeze/freeze.py yourscript.py
- make
No comments:
Post a Comment