[issue13400] packaging: build command should have options to control byte-compilation
Arfrever Frehtes Taifersar Arahesis
report at bugs.python.org
Sun Nov 27 03:19:35 CET 2011
Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA at GMail.Com> added the comment:
I suggest to not use "pyc" and "pyo" in options, because ".pyc" and ".pyo" filename extensions are specific to a subset of Python implementations. Jython uses "$py.class" filename extension (module$py.class for module.py).
You could use --byte-compile, --no-byte-compile and --optimize-bytecode (or --optimize-byte-code) for both build and build_py commands.
Do settings from setup.cfg affect byte-compilation?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13400>
_______________________________________
More information about the Python-bugs-list
mailing list