[Distutils] Egg support for system packages (including bdist_wininst)

M.-A. Lemburg mal at egenix.com
Thu Dec 22 13:52:15 CET 2005

M.-A. Lemburg wrote:
> Phillip J. Eby wrote:
>> Setuptools in SVN now provides preliminary support for installing eggs in 
>> .egg-info directory style, so that setuptools-based projects can be wrapped 
>> by system packagers who wish to avoid using .egg files or directories.  In 
>> addition, you can now use setuptools to install non-setuptools packages in 
>> such a way that an .egg-info directory is included, so that 
>> setuptools-based packages can detect the presence of the 
>> non-setuptools-based package.
> Thanks for adding this.
> I'd just wish that this would be the default and the .egg ZIP
> file installation approach be made an option.
> setuptools would then finally be compatible to the rest of the
> distutils world again and avoid all the added overhead and
> problems of ZIP file imports.
> Perhaps you could have two commands, e.g. the default install
> would create the normal package directory (with added .egg-info
> dir) and a new install_eggfile to install the .egg ZIP file
> instead.

Somewhat related to this: wouldn't it be possible to build
.egg ZIP files using the same layout, ie. with the .egg-info
subdir inside the package instead of having a top-level
EGG-INFO directory in the ZIP file ?!

That way, you could simply unzip the .egg file somewhere
on your PYTHONPATH in order to install it and still have
the meta information at hand.

Marc-Andre Lemburg

Professional Python Services directly from the Source  (#1, Dec 22 2005)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::

More information about the Distutils-SIG mailing list