Review Request: Respect PYTHONDONTWRITEBYTECODE environmental variable

Michael Palimaka kensington at gentoo.org
Wed Nov 7 19:28:43 GMT 2012


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

Review request for kdelibs and Luca Beltrame.


Description
-------

PythonMacros.cmake 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.

(This is like review #107228, but for KDE/4.10)


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


Diffs
-----

  cmake/modules/PythonMacros.cmake 785093e44b88a9be7d5d601fdd95f559af80e164 

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


Testing
-------


Thanks,

Michael Palimaka

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


More information about the kde-core-devel mailing list