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

Raphael Kubo da Costa kubito at gmail.com
Sat Mar 14 18:26:08 UTC 2009


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





--- Comment #5 from Raphael Kubo da Costa <kubito gmail com>  2009-03-14 19:26:05 ---
Created an attachment (id=32108)
 --> (http://bugs.kde.org/attachment.cgi?id=32108)
Patch to honour the PYTHON_SITE_PACKAGES_DIR path passed in the command line.

This patch for kdelibs honours the PYTHON_SITE_PACKAGES_DIR value passed in the
command line with the -D parameter and only sets it to the value returned by
distutils.sysconfig.get_python_lib(plat_specific=1) (which is usually
/usr/lib/python2.N/site-packages) if a value is not specified in the command
line.

It may be useful to do the same to PYTHON_INCLUDE_PATH too.

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