[Distutils] setuptools acting differently in different shell environments
Phillip J. Eby
pje at telecommunity.com
Wed Aug 6 23:57:01 CEST 2008
At 02:40 PM 8/6/2008 -0700, Chris Maddison wrote:
>It seems like a different default directory is being used and I can't
>figure out why or how to change that. On top of that, when I try
>forcing it in various ways (including .cfg files) suggested in the
>setuptools documentation it says that those directories aren't in the
>python path as my $PYTHONPATH variable is ''. This is strange, because
>sys.path DOES come up with the correct paths.
It sounds like you're using different versions of Python in the two
environments. That would explain everything, pretty much. It also
sounds like a very Mac-specific issue.
Probably the simplest workaround would be to replace the "sh
setuptools.egg" bit with an inline version of the egg's shell code,
that hardcodes the path to the specific version of Python you want to use.
More information about the Distutils-SIG