Page 1 of 1

Compile Python To Standalone Binary

Posted: Sat Jul 16, 2011 1:27 pm
by mikethedj4
Well the title is pretty self explanatory.

Anyway you're going to need to get cx-freeze. (Note cx-freeze is cross platform.)

If you're using Ubuntu you can use the following terminal command to install it.
Code: Select all
sudo apt-get install cx-freeze
After you have it installed navigate to the directory of your application, via the terminal, and then put down the following terminal command to compile your app.
Code: Select all
cxfreeze appname.py
Now that's mainly for simple scripts. You can head here to learn more about cx-freeze.