Revision 1c6bf84...
Go back to digest for 7th October 2012Optimization in KDE Base
Luca Beltrame committed changes in [kdelibs/KDE/4.10] cmake/modules/PythonMacros.cmake:
Support Python 3.2's new method of handling byte compiled files in
PythonMacros.cmake.
Python 3.2 changed the compile mechanism by creating a __pycache__
directory. This obviously breaks a lot of stuff that assumed that pyc
files were stored in the same directory as the py files. This change
adds a check, and adjusts files only in case Python 3.2 is found. Notice
that currently I have way of testing if the suffix (*cpython) is the
same on all supported OSes.
Also, I fixed a number of typos that made the macro work by chance all
these years.
REVIEW: 106707
File Changes
Modified 1 files
- cmake/modules/PythonMacros.cmake
1 files changed in total