[Python-Dev] eggs now mandatory for pypi?

M.-A. Lemburg mal at egenix.com
Tue Oct 6 16:39:12 CEST 2009


Chris Withers wrote:
> M.-A. Lemburg wrote:
>> mxSetup.py, the module implementing all our distutils extensions,
>> is available in egenix-mx-base which is open source:
>>
>>     http://www.egenix.com/products/python/mxBase/
> 
> I have memories of mxBase having a load of other stuff in it too?

Yep, lots of it.

> Would it be possible to split just the distutils extensions into their
> own package and get that package as an sdist on PyPI?

Nope. The main reason for having switched to distributions is
to make things easier to manage - both for us and our users.

> That said, I still think getting the bdist_egg code, at least, into
> Distutils in the core as soon as possible would be a very good thing.
> It's kinda odd having the python equivalent of jars or gems only being
> created by third party software that's no longer maintained...
> 
>> Note how the package name is mangled... easy_install requires this.
>> The file name also doesn't tell you that the above is for
>> a UCS2 Python build. Again, easy_install fails with that information
>> added to the "py2.6" version marker.
> 
> Surely this stuff all belongs in the static metadata file that keeps on
> overcomplicating itself in discussions?

The complicated stuff does belong somewhere else, but the
basic things need to go into the filename - simply because
you have to build separate files for each Python build
dimension and want to be able to put everything into
a single directory or index:

 * Python version
 * Architecture/Platform
 * UCS2/UCS4

E.g. to solve the UCS2/4 part, we had to setup separate
PyPI-style index sites. We'd really like to avoid that if
possible.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Oct 05 2009)
>>> 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 our new mxODBC.Connect Python Database Interface for free ! ::::


   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               http://www.egenix.com/company/contact/


More information about the Python-Dev mailing list