Monday, January 10, 2011

How to create standalone python apps?

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:
On linux, pyinstaller works quite well but you have to generate it on the same distribution.
Here are the steps:
  1. download latest version
  2. python
  3. python /path/to/
  4. python /path/to/yourscript.spec
  5. start app: yourscript/dist/yourscript/yourscript(binary executable)
(*) Freeze instructions:
  1. svn checkout
  2. python freeze/
  3. make