db3l.net at gmail.com
Thu May 28 23:00:08 CEST 2009
Roastie <roastie57 at gmail.com> writes:
> I installed the AOPython module:
> % easy_install aopython
> That left an aopython-1.0.3-py2.6.egg at
An egg is basically a ZIP file with a specific structure (you can
inspect it with common ZIP tools). Depending on the package
easy_install is installing, it may be considered safe to install as a
single file (which Python does support importing files from).
I tend to prefer to have an actual unpacked tree myself. If you use
the "-Z" option to easy_install, you can force it to always unpack any
eggs when installing them.
Alternatively, if you've already got the single egg, you can always
unzip it yourself. Just rename it temporarily and unzip it into a
directory named exactly the same as the single egg file was.
More information about the Python-list