Review Request: Respect PYTHONDONTWRITEBYTECODE env variable

Commit Hook null at kde.org
Wed Nov 7 19:12:15 GMT 2012


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


This review has been submitted with commit 352ceb824ab7b6425bbb470d2231f76704fc3a10 by Arfrever Frehtes Taifersar Arahesis to branch KDE/4.9.

- Commit Hook


On Nov. 6, 2012, 10:50 a.m., Andrea Scarpino wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/107228/
> -----------------------------------------------------------
> 
> (Updated Nov. 6, 2012, 10:50 a.m.)
> 
> 
> 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/20121107/cc9a8869/attachment.htm>


More information about the kde-core-devel mailing list