[Distutils] eggs in Python path

Ian Bicking ianb at colorstudy.com
Sun Jan 15 22:16:14 CET 2006

Phillip J. Eby wrote:
> At 10:46 AM 1/15/2006 -0500, Jim Fulton wrote:
>>The eggs quick guide 
>>says that eggs can be installed by just putting them on sys.path.  This 
>>seem to be enough though. A .pth file seem to also be necessary.
>>Am I missing something?
> Two somethings.  :)
> First, you *can* install an egg by putting it on sys.path.  A .pth file is 
> just one *way* of putting it on sys.path.

I can read that two ways, with Jim's reading being more likely.  Maybe 
it would be better to say that you can install an egg by making sure 
sys.path points to the egg.  Being "on" sys.path can mean either "being 
in that list of paths" and "contained by a directory on that list of paths."

Ian Bicking  |  ianb at colorstudy.com  |  http://blog.ianbicking.org

More information about the Distutils-SIG mailing list