[Python-Dev] Re: [Zope3-dev] Zip import and sys.path manipulation (was Re: directory hierarchy proposal) (original) (raw)

Guido van Rossum guido@python.org
Mon, 16 Dec 2002 11:07:27 -0500


Random, harried thought: maybe we can use .pth files to extend the path? IOW, something like the above would search sys.path for zope.pth files, and do the equivalent to what site.py already does.

That would be a useful addition to the pkgutil.py module that I just proposed.

--Guido van Rossum (home page: http://www.python.org/~guido/)