answer1: if you need just .exe
1) you need to get py2exe from here, according to your Python version.
2) Make a file called "setup.py" in the same folder as the script you want to convert, having the following code:
from distutils.core import setup
import py2exe
setup(console=['myscript.py']) #change 'myscript' to your script
3) Go to command prompt, navigate to that folder, and type:
python setup.py py2exe
4) It will generate a "dist" folder in the same folder as the script. This folder contains the .exe file.
answer2: if you need installer , uninstaller etc
There is some list work you need to do.
install following
- Python
- wxPython
- py2exe
- Inno
best approach is just go though existing code.
please go through wikipad source code here