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
Re: [Distutils] PEP 376 -- support for release versions?
by Sridhar Ratnakumar other posts by this author
Nov 5 2009 1:32PM messages near this date
Re: [Distutils] PEP 376 -- support for release versions? | Re: [Distutils] PEP 376 -- support for release versions?
On Thu, 05 Nov 2009 13:03:45 -0800, Tarek Ziadé <ziade.tarek@[...].com>   
wrote:

>  If I understand correctly, ActiveState has its own releases of
>  python-ldap repackaged in pypm files,
>  and has several releases per python-ldap versions.

Correct. Much like what Linux distributions (like debian) do.

>  So, why it doesn't have its own versions ? like: 2.3.10.2 in that
>  case. (following a PEP 386-compatible scheme)
>  So this would be:
> 
> >>> egginfo_dirname('python-ldap', '2.3.10.2')
>  'python_ldap-2.3.10.2.egg-info'

Because python-ldap may release a similar version in future. We don't have  
to cause collisions. This is why the release version is not part of  
package version in the *.pypm filename.

I actually now think that storing the release number inside the .egg-info/  
directory may be a better idea. Like:

$ cat python_ldap-2.3.10.egg-info/pypm.txt
release: 2
$

What do you think?

-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