-----------------------------------------------------------
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
> 
>

_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to