[Python-Dev] eggs now mandatory for pypi? (original) (raw)

M.-A. Lemburg mal at egenix.com
Tue Oct 6 18:03:08 CEST 2009


Chris Withers wrote:

M.-A. Lemburg wrote:

The complicated stuff does belong somewhere else, but the basic things need to go into the filename But everyone's basic things are different.

The really basic stuff is the same for everyone since it's dictated by the way Python works on computers :-)

- 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. Well yeah, and the only sane way I can think to handle this is to have a metadata file that gets uploaded with each distribution that covers all these things (and the other things that other people need) and then have the index (which would hopefully be PyPI on the whole) be queryable along the lines of "give me a download url for a distribution named X that is for Python 2.6, Win32, UCS4, PostGreSQL 8.5, BlagBlah"...

So you want the indirection to happen even before fetching the download package ?

That's a good idea - and also a lot better than the web page link scanning that setuptools is doing.

It goes a bit in the direction of what we had in mind with writing for our clients: a tool that looks at the Python installation and automatically finds/downloads/installs the right package from our website. Only that we wanted to put up a single index file for that tool to use, not one per package.

-- 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