[issue11254] distutils doesn't byte-compile .py files to __pycache__ during installation
report at bugs.python.org
Sun Mar 20 22:32:08 CET 2011
Éric Araujo <merwok at netwok.org> added the comment:
I cleaned up the patch a bit. In particular, I removed the dance around imp.cache_from_source that seemed unnecessary. I tested with regular Python, with PYTHONOPTIMIZE and with PYTHONDONTWRITEBYTECODE. Can you review and test too?
Added file: http://bugs.python.org/file21312/bug-11254.diff
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list