[pypy-dev] Re: autopath obsolete?

Bob Ippolito bob at redivi.com
Thu Nov 18 11:33:09 CET 2004


On Nov 18, 2004, at 12:19 PM, Michael Hudson wrote:

> Christian Tismer <tismer at stackless.com> writes:
>
>> Hi colleagues,
>>
>> I was wondering why we still need stuff like autopath?
>> I simply use a pypy.pth file in my standard python
>> folder which contains the path to pypy, and things
>> work fine.
>> Why do we really need autopath?
>
> Well, if you run stuff from inside the pypy directory it's a good idea
> to get the current directory *out* of sys.path.

Well, autopath doesn't do that, it just shuffles the pypy base dir to 
sys.path[0].

> autopath is a bit of a hack, I agree, but it's not costing much, is it?

The fact that it scatters itself all over the repository is kind of a 
maintenance hassle I think.  It doesn't seem to do anything 
particularly useful...

-bob




More information about the Pypy-dev mailing list