[issue11254] distutils doesn't byte-compile .py files to __pycache__ during installation
Stefan Behnel
report at bugs.python.org
Sun Feb 20 11:21:24 CET 2011
Stefan Behnel <scoder at users.sourceforge.net> added the comment:
Here's a patch. I basically copied over the way py_compile determines the .pyc file name.
It works for me for a "normal" installation. However, I couldn't test it with "-O", as 2to3 crashes for me when I enable it during installation. I guess that's a separate issue.
----------
keywords: +patch
Added file: http://bugs.python.org/file20802/issue11254.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11254>
_______________________________________
More information about the Python-bugs-list
mailing list