ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> distutils-sig
distutils-sig
[Distutils] PEP 376 -- support for release versions?
by Sridhar Ratnakumar other posts by this author
Nov 5 2009 12:34PM messages near this date
[Distutils] distutils.core.setup --install-script option in Python 2.6 ? | Re: [Distutils] PEP 376 -- support for release versions?
Hi,

While reading the PEP I noticed that there seems to be no straightforward  
to specify the package release versions.

   > >> egginfo_dirname('python-ldap', '2.3.10')
   'python_ldap-2.3.10.egg-info'

Consider the following PyPM package file name:

   python-ldap-2.3.10_linux-x86_2.6_2.pypm

Here 2.3.10 is python-ldap's version, 2.6 is the Python version .. and 2  
(the last component) is the binary release number (for ActiveState  
repository). This is to upgrade previous releases of the same python-ldap  
(say, python-ldap-2.3.10_linux-x86_2.6_1.pypm).

If PyPM is to rely on PEP 376 style .egg-info directories (and the RECORD  
files within them), how is it to store/retrieve this release number?  
Currently we store everything (including RECORD) in a sqlite database  
under site-packages. I can continue using the db for release numbers  
alone, but I really prefer that this is covered by a standard that  
evidently provides support for installer tools.

-srid
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@[...].org
http://mail.python.org/mailman/listinfo/distutils-sig
Thread:
Sridhar Ratnakumar
Ziade Tarek
Robert Kern
Ziade Tarek
Sridhar Ratnakumar
Piotr Ozarowski
Sridhar Ratnakumar
David Lyon
Robert Kern
David Lyon
Robert Kern
David Lyon
Robert Kern
David Lyon
Ziade Tarek
Sridhar Ratnakumar
Ziade Tarek
Floris Bruynooghe
Carl Meyer
Ziade Tarek

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved