This repository has been archived by the owner on Dec 26, 2023. It is now read-only.
CustomPython (Dropbox style)
VS Project File
X:\<PATH>\Python27\Source\Python-2.7.6\PCbuild\python.vcxproj
Defines
- DONT_CHANGE_CO_CODE_OFFSET
- DONT_CHANGE_OPCODE_MAP
- DONT_ADD_BYTECODE_ENCRYPTION
- DONT_REMOVE_PY_CODE_OBJECT_CHECK
- DONT_PATCH_PYRUN
marshal.c
// Disabled
#define DONT_ADD_BYTECODE_ENCRYPTION
#define DONT_REMOVE_PY_CODE_OBJECT_CHECK
opcode.h
// Disabled
#define DONT_CHANGE_OPCODE_MAP
code.h
// Disabled
#define DONT_CHANGE_CO_CODE_OFFSET
pythonrun.c
// Disabled
#define DONT_PATCH_PYRUN
Installing py2exe
1. X:\<PATH>\Python27\Source\py2exe-0.6.9> ..\Python-2.7.6\PCbuild\python.exe setup.py build_ext -L X:\<PATH>\Python27\Source\Python-2.7.6\PCbuild
2. X:\<PATH>\py\Python27\Source\py2exe-0.6.9> cp .\source\*.manifest .\build\temp.win32-2.7\Release\source\
3. X:\<PATH>\py\Python27\Source\py2exe-0.6.9> ..\Python-2.7.6\PCbuild\python.exe setup.py build_interpreters
4. X:\<PATH>\py\Python27\Source\py2exe-0.6.9> ..\Python-2.7.6\PCbuild\python.exe setup.py install