Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#1624 - python library install path

Attached to Project: Arch Linux
Opened by Aaron Griffin (phrakture) - Thursday, 14 October 2004, 20:10 GMT
Last edited by dorphell (dorphell) - Thursday, 09 December 2004, 21:16 GMT
Task Type Feature Request
Category Packages: Current
Status Closed
Assigned To Jason Chu (jason)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

All python libraries should be installed to a version independant path. Any python package with a build.py script has a switch to enable this. By default most install to ....python2.3/site-packages/

However, upon a switch to python 2.4 in the future, these packages would need to be updated, and may still be functional with the new python version.
This task depends upon

Closed by  Jason Chu (jason)
Wednesday, 29 December 2004, 23:43 GMT
Reason for closing:  Fixed
Additional comments about closing:  From now on all python packages will include the previous version's site-packages directory in their library path.
Comment by Aaron Griffin (phrakture) - Thursday, 09 December 2004, 18:16 GMT
python upgraded to 2.4 - python library packages are now all out of date... for now I am going to adjust my site-packages to a symlink to a version independant location and link it to python2.3 and python2.4...

all python packages need to be rebuilt
Comment by dorphell (dorphell) - Thursday, 09 December 2004, 21:17 GMT
Jason, you've been working on this recently, so here you go.
Comment by Jason Chu (jason) - Thursday, 09 December 2004, 21:44 GMT
On my system, the sys.path includes python2.3/site-packages. You should probably check on your system that this is the case as well.

As far as I can tell, the Python developers are smart.

[jchu@aries ~]$ python
Python 2.4 (#2, Dec 8 2004, 15:33:16)
[GCC 3.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.path
['', '/home/jchu', '/usr/lib/python2.3/site-packages', '/opt/gnome/lib/python2.3/site-packages', '/usr/lib/python24.zip', '/usr/lib/python2.4', '/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', '/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/site-packages']
>>>
Comment by Jason Chu (jason) - Thursday, 09 December 2004, 21:45 GMT
Ok, it looks like that's because of the gnome.sh file...

I'll have to think about this some more.
Comment by Jason Chu (jason) - Tuesday, 14 December 2004, 02:20 GMT
There is no default version independent path. Python changes minor versions every year or so, so all the python modules will have to be rebuilt at least once a year... somehow, I think it's not that big of a deal.

If you do, tell me why.

Loading...