[Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

Michael Foord fuzzyman at voidspace.org.uk
Tue Dec 29 00:07:32 CET 2009


On 28/12/2009 22:57, David Lyon wrote:
> On Mon, 28 Dec 2009 10:42:20 +0100, "Martin v. Löwis"<martin at v.loewis.de>
> wrote:
>    
>> On distutils-sig, a vocal fraction seems to think otherwise. From my
>> short interaction there, I now think that comparison operators are
>> indeed hard to use, and that the concept of a half-open interval,
>> and how you can use relational operators involving the endpoints
>> to denote it, is (apparently) *quite* advanced.
>>      
> Absolutely.
>
> > From Len and my interactions, I will wrap up and make one addition
> to the set. I'm adding one last proposition.
>
>    >  Requires-Python: 3
>
> Requires a particular python version.
>
>    >  Requires-Python: 2.5:2.7
>
> Specifies a range of python versions.
>    
So this would work for Python 2.7 but *not* 2.7.1? Or does 2.7 
implicitly mean a range of all Python 2.7 versions?

If not how do we specify up to the last version of 2.6 (which may not 
yet be released) but *not* 2.7?

     2.5:2.6.9 ?

Michael


>    >  Requires-Python: 2.4+
>
> Specifies anything above a particular python version.
>
> (No need to ask me about a less than operator. I think
>   a packager would feel more comfortable with using the
>   range operator than a 'less-than' operator. There just
>   comes a point where people don't bother with old
>   interpreter versions)
>
> That wraps it up for the vocal faction...
>
> Happy new year
>
> David
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.uk
>    


-- 
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog




More information about the Python-Dev mailing list