http://cs.simpson.edu/?q=make_an_installer_for_your_python_program
How to create an installer for your Python program
Here are the steps necessary to create an installable application out of your Python program.
Create an icon for your program (optional)
- Download and install Imagicon [http://www.deviouscodeworks.co.uk/imagicon]
- Run the program to create an icon file, and save it to your program directory
Create an executable file and distribution directory:
- Download and install cs_Freeze from [http://cx-freeze.sourceforge.net/]
- Download and copy this font to your application directory: [freesansbold.ttf]
- Update your program to use this font (see tutorial video)
- Open a command prompt and navigate to your application directory
- Run cxfreeze on your python script
\python31\scripts\cxfreeze "myprogram.py" - Switch to 'dist' directory
cd dist - Copy needed files from parent
copy ..\*.*
Create an installer
- Download the freeware version of InstallCreator from [http://www.clickteam.com/eng/installcreator.php]
- Run the wizard to create an installer for the distribution directory
(Note, the video below does not set program name correctly. It instead sets it to the name of the icon.)