[PATCH] bug 174806
thiago at kde.org
Sat Apr 11 19:59:27 CEST 2009
Raphael Kubo da Costa wrote:
>> Well, if we detect Python 2.6, then we should install to the KDE
>> prefix by default.
>According to PEP 370, we should install it to the local
>site-packages dir, usually ~/.local/lib/python2.6/site-packages.
So if you install as root, it ends up in /root/.local/lib/... ?
That sounds wrong.
>> The problem then is, of course, the surprise factor: if someone
>> upgrades, suddenly KDE starts installing to the wrong path.
>> I recommend, instead, that we default to the KDE prefix and, if Python
>> 2.5 or earlier is detected, we print a big warning at the end of the
>> cmake run, saying that you will not be able to run and that you should
>> set the PYTHON_SITE_PACKAGES_DIR variable instead. Even make it a
>> fatal error.
>Except for the KDE prefix part, this seems reasonable.
>However, I haven't looked at Michael's patch for a while, so I don't
>remember if this is actually wrong too.
Sorry, no. When installing KDE, by default it should not install anything
outside its prefix. If I want it to install somewhere else, I'll give it
specific paths to do so (like old configure --prefix=/usr --sysconfdir=/etc).
I stand by this: when installing, unless told otherwise, install ONLY to
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20090411/c9d994ed/attachment.sig
More information about the Kde-buildsystem