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

README.txt

FAQ:

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

Q: How to build out a standalone python application ?
A: python pybuild.py python27.py

Q: How to reduce python27.zip size ?
A: extract python27.zip, 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