[pypy-dev] autopath obsolete?
Bob Ippolito
bob at redivi.com
Thu Nov 18 10:36:00 CET 2004
On Nov 18, 2004, at 11:22 AM, Christian Tismer wrote:
> 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?
Good question, it certainly looks worthless to me when you have a
properly configured Python environment.
It would probably make more sense to have ONE autopath-like module
where you say something like:
from pypy.tool import pypypath
pypypath.dir_of(__name__) to determine the current path,
pypypath.dir_of('pypy') to determine the root dir of pypy.
dir_of should probably accept varargs and do os.path.join(...) as a
shortcut, because that seems to be the most common case.
-bob
More information about the Pypy-dev
mailing list