Review Request: allow PYTHON_SITE_PACKAGES_DIR be set from cmake's command line

Thiago Macieira thiago at
Sat Apr 11 08:42:17 BST 2009

Marcos Dione wrote:
>this small patch allows to specify the PYTHON_SITE_PACKAGES_DIR path
> from the cmake's command line via a -DPYTHON_SITE_PACKAGES_DIR option.
> I already tested it and works with kdebase and kdebindings modules.
>  /trunk/KDE/kdelibs/cmake/modules/FindPythonLibrary.cmake 952067

Can you please post the diffs?

The link above doesn't work.

Also, please make the default be 
(Since I can't see the diff, I can't tell if you made this already the 

That is, unless you do pass the option, KDE installs inside its own prefix. 
You should be able to run Python programs with extra modules in KDE's own 
prefix by setting PYTHONPATH appropriately.

  Thiago Macieira  -  thiago (AT) - thiago (AT)
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the kde-core-devel mailing list