[Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2
ziade.tarek at gmail.com
Mon Dec 28 10:14:55 CET 2009
On Mon, Dec 28, 2009 at 3:03 AM, MRAB <python at mrabarnett.plus.com> wrote:
> Martin v. Löwis wrote:
>>> No application developer will quickly figure out what a tilde means.
>>> it means 'roughly', but it requires too much thought and is ambiguous.
>>> is not roughly 2.5.2. It is the same exactly.
>>> Before we had : Requires-Python: 2.5, 2.6
>>> That made much more sense. It was simple and unambiguous, and is relevant
>>> to typical packaging scenarios.
>> Unfortunately, it is fairly ambiguous, and makes no sense. It means
>> "requires Python 2.5 *AND* requires Python 2.6", which is a requirement
>> that no single version can meet.
> Does that mean we should add "or"?
> Requires-Python: 2.5 or 2.6
> Should we also use "and" instead of ","?
> Requires-Python: >= 2.5 and < 2.6
This was discussed aready in Ditsutils-SIG : *and* is enough to
express everything, so for the sake of simplicity,
the comma means *and* all the time, as Mentioned in
More information about the Python-Dev