diff options
Diffstat (limited to 'build_scripts/setup_runner.py')
| -rw-r--r-- | build_scripts/setup_runner.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build_scripts/setup_runner.py b/build_scripts/setup_runner.py index 5e0b2b486..f77b9d1fe 100644 --- a/build_scripts/setup_runner.py +++ b/build_scripts/setup_runner.py @@ -107,6 +107,10 @@ class SetupRunner(object): will run setuptools.setup(). """ + # PYSIDE-1746: We prevent the generation of .pyc/.pyo files during installation. + # These files are generated anyway on their import. + sys.dont_write_bytecode = True + # Prepare initial config. config.init_config(build_type=OPTION["BUILD_TYPE"], internal_build_type=OPTION["INTERNAL_BUILD_TYPE"], |
