Christopher Barker wrote:
>   * What about people installing upgrades to packages? IIUC, the Apple
> python puts stuff in a dir that is before site-packages, so if you
> install a newer version of a package that Apple already had, it won't be
> used without sys.path manipulations. I think numpy was the example at
> hand, but assume the same issue would apply to wxPython etc.

If the upgrade package is an egg then the new egg will be found first.
If the upgraded package just drops itself into the standard or user
site-packages or something then the Apple installed packages will be
found first unless there is some manipulation of the path.

$ /usr/bin/python -c "import sys,pprint; pprint.pprint(sys.path)"
['',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python25.zip', 


'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5',

'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-darwin',
 


'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac',
 


'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac/lib-scriptpackages',
 


'/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python', 


'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk',
 


'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload',
 

  '/Library/Python/2.5/site-packages',
'/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyObjC',
 


'/Users/robind/Library/Python/2.5/site-packages']

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!


_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to