[Distutils] Setup tools causes problems with orca finding its python packages

Phillip J. Eby pje at telecommunity.com
Tue Sep 23 16:50:10 CEST 2008


At 03:32 PM 9/23/2008 +0100, Michael Whapples wrote:
>I have noticed that easy_install has a easy-install.pth file which seems
>to be adding the directories specified in it before any other python
>package directories, including the environment variable PYTHONPATH. This
>causes a problem with orca which uses a bash script to start itself, and
>specifies where its python packages should be found by setting the
>PYTHONPATH variable. This wouldn't cause problems except when a user has
>more than one version of orca installed (eg. a stable version from the
>distribution installed in the standard python site-packages directory
>and one (SVN trunk version) in a custom directory). I found that
>easy_install had added the standard python site-packages directory
>(/usr/lib/python2.5/site-packages on my system) to easy-install.pth so
>making it impossible to use my custom install of orca as the standard
>location was first in sys.path.

Eek.  That sounds like a bug.  Can you provide minimal steps to 
reproduce it?  (i.e., getting a site directory to end up in easy-install.pth)



More information about the Distutils-SIG mailing list