[Distutils] Setuptools feature request: simplified version specification

Ian Bicking ianb at colorstudy.com
Fri Jul 6 20:51:02 CEST 2007


Phillip J. Eby wrote:
> I'm not sure what I think of ' ' as the operator.  This change would 
> also have to be an 0.7 feature, as any package that uses it will be 
> dependent on having a setuptools version that understands it, at 
> least in order to build an egg.  (We could have egg_info write the 
> expanded forms, so that the built eggs' dependencies would be 
> comprehensible to older versions.)

How about foo~=1.3, meaning foo>=1.3a,<1.4a ?  It reads well to me, 
since it's like "about equal".


-- 
Ian Bicking : ianb at colorstudy.com : http://blog.ianbicking.org
             : Write code, do good : http://topp.openplans.org/careers


More information about the Distutils-SIG mailing list