some python build script
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Microsoft.VC90.CRT.manifest refine Aug 16, 2013
msvcr90.dll refine Aug 16, 2013
python27.dll test Aug 16, 2013
python27.exe test Aug 16, 2013
python27.ico refine Aug 16, 2013 full python27 support Aug 28, 2013



Q: How to build python27.exe and ?
A: python -z -i python27.ico

Q: How to build out a standalone python application ?
A: python

Q: How to reduce size ?
A: extract, delete some unused packages(email/unitest/unicodedata), then compress it with 7-Zip

Q: How to disassemble python27.exe bytecode ?
A: python -c "import sys,marshal,dis,py2exe.py2exe_util;dis.disassemble(marshal.loads(py2exe.py2exe_util.load_resource(sys.argv[1].decode(sys.getfilesystemencoding()), u'PYTHONSCRIPT', 1)[16:].partition('\x00')[2])[-1])" python27.exe