Size: 116
Comment:
|
← Revision 4 as of 2011-01-19 20:06:15 ⇥
Size: 171
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= Python-Recompile .pyc and .pyo files = | = Python-Recompile Library .pyc and .pyo Files = |
Line 3: | Line 3: |
export PYTHONPATH=/opt/local/toolkit/python-2.7/; python -m compileall | {{{export PYTHONPATH=<path/to/python/install>; python -Om compileall}}} The {{{-O}}} is the letter O not 0 (zero). |
Python-Recompile Library .pyc and .pyo Files
export PYTHONPATH=<path/to/python/install>; python -Om compileall
The -O is the letter O not 0 (zero).