Python site packages

Christophe Giboudeaux cgiboudeaux at gmx.com
Thu Jan 17 20:14:44 UTC 2013


On Thursday 17 January 2013 18:13:20 Jonathan Riddell wrote:
> FindPythonLibrary.cmake seems to have changed between 4.9.97 and
> 4.9.98 it now incorrectly hardcodes the directory "site-packages".

site-packages is the default subdir for modules, See 
http://docs.python.org/2/install/index.html.

> Python 2.7 at least in Debian land uses "dist-packages" so it puts
> files into the wrong directory.

That for sure is incorrectly hardcoded.

Anyway, unless the kde-packagers list became write-only or noone takes care of 
the moderation queue, an email (well, two) was sent and gives the solution: 
Use -DINSTALL_PYTHON_FILES_IN_PYTHON_PREFIX=TRUE.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/release-team/attachments/20130117/d504386f/attachment.sig>


More information about the release-team mailing list