Review Request 108516: Do not hardcode site-packages for the python libdir.

Sune Vuorela kde at pusling.com
Mon Jan 21 17:09:14 UTC 2013


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


$ python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(True, prefix='/usr/'))"
/usr/lib/python2.7/dist-packages

is on a debian system. I think that might be right.

- Sune Vuorela


On Jan. 21, 2013, 11 a.m., Michael Jansen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/108516/
> -----------------------------------------------------------
> 
> (Updated Jan. 21, 2013, 11 a.m.)
> 
> 
> Review request for Build System, Release Team and Kevin Kofler.
> 
> 
> Description
> -------
> 
> Do not hardcode site-packages for the python libdir.
> 
> 
> Diffs
> -----
> 
>   cmake/modules/FindPythonLibrary.cmake 7cef79b16521c759f38f1deea539a28a50c5d708 
> 
> Diff: http://git.reviewboard.kde.org/r/108516/diff/
> 
> 
> Testing
> -------
> 
> Not much. Works the same as before. Need someone to check on debian. Need someone to check when installing into /usr.
> 
> I think the strequal to check if PYTHON_SITE_PACKAGES_INSTALL_DIR is different from PYTHON_SITE_PACKAGES_DIR is not optimal but good enough. The only problem could be a trailing slash or different case on windows. Any hints to improve it?
> 
> 
> Thanks,
> 
> Michael Jansen
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/release-team/attachments/20130121/63f10b9b/attachment.html>


More information about the release-team mailing list