Review Request: Respect PYTHONDONTWRITEBYTECODE env variable

Andrea Scarpino andrea at archlinux.org
Tue Nov 6 10:50:54 GMT 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/107228/
-----------------------------------------------------------

Review request for kdelibs.


Description
-------

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

patch by Arfrever Frehtes Taifersar Arahesis, I just updated it to be applied to master/KDE4.9


This addresses bug 276151.
    http://bugs.kde.org/show_bug.cgi?id=276151


Diffs
-----

  cmake/modules/PythonMacros.cmake 661e32d 

Diff: http://git.reviewboard.kde.org/r/107228/diff/


Testing
-------

Works. kdelibs Arch Linux package uses it since 4.8.4


Thanks,

Andrea Scarpino

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20121106/d0e6136a/attachment.htm>


More information about the kde-core-devel mailing list