[Python-Dev] eggs now mandatory for pypi? (original) (raw)
M.-A. Lemburg mal at egenix.com
Tue Oct 6 20:17:44 CEST 2009
- Previous message: [Python-Dev] eggs now mandatory for pypi?
- Next message: [Python-Dev] eggs now mandatory for pypi?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
P.J. Eby wrote:
At 03:18 PM 10/6/2009 +0200, M.-A. Lemburg wrote:
Note how the package name is mangled... easyinstall requires this. The file name also doesn't tell you that the above is for a UCS2 Python build. Again, easyinstall fails with that information added to the "py2.6" version marker. Btw, every couple years or so I've sent out a call on the distutils-SIG to try to get consensus on a format for the platform tag information used by setuptools. (The first time was before easyinstall even existed.) Unfortunately, it's rare that anybody contributes more than criticism of the existing scheme. The last updates to the scheme were by Mac folks, who at least had a clear vision of what was needed. There's been some win32/win64 discussion in the past, but no proposals or patches of comparable specificity. Linux and other unices haven't had any concrete suggestions at all, AFAICR. Anyway... just saying that if you have a concretely implementable proposal about what to do with platform tags, please do share on the distutils-sig. Platform tags are one area that's reasonably easy to upgrade in a backward-compatible-ish way; newer versions of easyinstall can still recognize older tags, although new eggs won't be recognized by older installers (forcing people to upgrade setuptools in that case).
Here's a very simple Python version scheme we've been using for years:
pyX.X_ucsY
with X.X being the major.minor Python version and Y being either 2 or 4 depending on the UCS-build that was used to build the egg.
The "_ucsY" part is not needed for pure-Python archives (but it doesn't hurt using it there as well) and also not needed on Windows, since Python is always UCS2 on Windows.
easy_install should first look for the full version string and then fall back to the non-UCS one.
-- 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/
- Previous message: [Python-Dev] eggs now mandatory for pypi?
- Next message: [Python-Dev] eggs now mandatory for pypi?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]