[Kde-bindings] [Bug 174806] python stuff pretends to be installed in the system python prefix

Raphael Kubo da Costa kubito at gmail.com
Wed May 20 22:41:37 UTC 2009


https://bugs.kde.org/show_bug.cgi?id=174806





--- Comment #15 from Raphael Kubo da Costa <kubito gmail com>  2009-05-21 00:41:30 ---
There was a heated discussion on the kde-buildsystem mailing list some time ago
about informing the user, or automatically choosing a local path (and how that
only plays nice with Python 2.6+).

IIRC, Michael Witten's patch does something like that, but it needs some work
so it hasn't been integrated.

Currently, I don't really know what to tell the user: if he's using Python <=
2.5 he needs to install somewhere and export PYTHONPATH to include his
installation path (and then someone in the thread said exporting PYTHONPATH was
not good, and someone else argued it was or something ;), if the user is using
Python 2.6+ he should install to ~/.local/lib/python2.6/site-packages. The
lowest common denominator here is just telling the user to pass
-DPYTHON_SITE_PACKAGES_DIR to cmake, with which I agree, but I don't know if
it's usual.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kde-bindings mailing list