-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Michal Marek wrote:
> Pascal Bleser wrote:
>> 2) all your spec files that build using python setuptools are hosed
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> The default prefix for builds with Python setuptools (setup.py) is now
>> /usr/local instead of /usr
>> [...]
>> Could someone @SUSE comment on this one ? Adrian ?
>> Is it a bug or is it intended ?
>
> It's intended as a fix for
> https://bugzilla.novell.com/show_bug.cgi?id=149809 and
> https://bugzilla.novell.com/show_bug.cgi?id=149843
>
> The idea is that manually installed python programs should go to
> /usr/local (as autotooled programs do). It probably should have been
> announced on opensuse-packaging in advance.
Yes, I can imagine the reason.
It's just a bit annoying for packagers because as previously the
"correct" Python prefix (for RPM packages, that is) has been set
automatically by setup.py, I suppose I'm not the only one who never
thought of passing --prefix="%{_prefix}", so now for 10.1 all
python-*.spec have to be modified.
What just makes me wonder... what's the point of installing Python
libraries under /usr/local when the default sys.path doesn't include
that directory ?
$ python
Python 2.4.2 (#1, Apr 9 2006, 16:08:21)
[GCC 4.1.0 (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.path
['', '/usr/lib/python24.zip', '/usr/lib64/python2.4',
'/usr/lib64/python2.4/plat-linux2', '/usr/lib64/python2.4/lib-tk',
'/usr/lib64/python2.4/lib-dynload',
'/usr/lib64/python2.4/site-packages',
'/usr/lib64/python2.4/site-packages/Numeric',
'/usr/lib64/python2.4/site-packages/gtk-2.0']
No /usr/local/lib64/python2.4/site-packages in there...
Anyway, I guess we'll just have to live with it ;)
Thanks for your comments.
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\ <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
_\_v The more things change, the more they stay insane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFEP3XUr3NMWliFcXcRAoVcAJ9SRsJshnwY1UNGayzuHqrOAu6suQCeLCX6
PVWrf1t2vV35+fImgI0B/tA=
=K97n
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]