aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2021-12-20 12:24:24 +0100
committerChristian Tismer <tismer@stackless.com>2021-12-20 14:31:06 +0100
commit6787535fcd57f1363ad8ecdf8b6855e83d6c98d9 (patch)
treed1894bd2f92128dca55aec09d5f83f9b6c2e21ea /sources/pyside6
parent68fc31e0304c3cdf33aef5ad3e13786362496c59 (diff)
setup.py: Prevent creation of byte-compiled files
Byte-compiled files (.pyc or .pyo) are generated by default when a module gets imported. The "setup install" command has additionally the effect of pre-compiling all Python files for the installation. This is much less relevant than when this behavior was implemented (was in Python 1.4, already in 1996). We don't want this behavior that clutters example directories and does not make much sense when the Limited API is used. The compiled files will still be created on import. But be aware of possible side effects because files may be written on a read-only installation. [ChangeLog][PySide6] The byte-compiling of example files is now suppressed to save space and clutter. Task-number: PYSIDE-1746 Change-Id: I811431030517c251f32bcadc4c98fb646b68eafa Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside6')
0 files changed, 0 insertions, 0 deletions