AOPython Question

David Bolen db3l.net at gmail.com
Thu May 28 17:00:08 EDT 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
> C:\mystuff\python\python_2.6.2\Lib\site-packages.

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.

-- David



More information about the Python-list mailing list