Created attachment 61183 [details] Respect PYTHONDONTWRITEBYTECODE environmental variable in PYTHON_INSTALL macro Version: unspecified (using KDE 4.6.4) OS: All cmake/modules/PythonMacros.cmake defines PYTHON_INSTALL macro. This macro should not create/install byte-compiled Python modules (*.pyc) when PYTHONDONTWRITEBYTECODE environmental variable is set. See also: http://docs.python.org/using/cmdline.html#envvar-PYTHONDONTWRITEBYTECODE Reproducible: Always
It would be nice if you would post this patch to git.kdereviewboard.kde.org under the buildsystem group.
Created attachment 75050 [details] Updated patch for kdelibs 4.9.3
https://git.reviewboard.kde.org/r/107228/
Created attachment 75083 [details] Updated patch for kdelibs KDE/4.10 branch
Git commit 352ceb824ab7b6425bbb470d2231f76704fc3a10 by Michael Palimaka, on behalf of Arfrever Frehtes Taifersar Arahesis. Committed on 07/11/2012 at 20:08. Pushed by palimaka into branch 'KDE/4.9'. Respect PYTHONDONTWRITEBYTECODE environmental variable. REVIEW: 107228 M +43 -41 cmake/modules/PythonMacros.cmake http://commits.kde.org/kdelibs/352ceb824ab7b6425bbb470d2231f76704fc3a10
(In reply to comment #4) > Created attachment 75083 [details] > Updated patch for kdelibs KDE/4.10 branch https://git.reviewboard.kde.org/r/107248/
Fix was committed also in KDE/4.10 branch.
Git commit 5a3cedacdb6485f7551090467cffb2cdf150b05a by David Faure, on behalf of Arfrever Frehtes Taifersar Arahesis. Committed on 07/11/2012 at 20:08. Pushed by dfaure into branch 'KDE/4.9'. Respect PYTHONDONTWRITEBYTECODE environmental variable. REVIEW: 107228 M +43 -41 cmake/modules/PythonMacros.cmake http://commits.kde.org/kdelibs/5a3cedacdb6485f7551090467cffb2cdf150b05a
I am a bit confused, it looks like the fix was committed to KDE/4.9 twice?
Michael, it had to be repushed, because of a branching problem. Everything is fine now :)