David Lyon <david.lyon <at> preisshare.net> writes:
> 
> Requires a particular python version.
> 
>   > Requires-Python: 2.5:2.7

Why not drop ranges as well as operators and simply use commas?
The above would be rewritten as:

Requires-Python: 2.5, 2.6, 2.7

This would prevent the ambiguity on the inclusive or exclusive nature of the
upper bound of the range.

You might argue that if you want to include 8 versions of Python this makes the
notation slightly longer, but who tests their package with 8 different versions
of Python?
(and if you don't test exhaustively, just use the "2.5+" notation)

Regards

Antoine.


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to