Nick Coghlan <ncoghlan <at> gmail.com> writes:

> As a simple proposal: a new "Version-Scheme" field, with currently
> supported values "setuptools" and "pep386", and a clause allowing
> future "pepXYZ" versioning schemes. The version scheme field then
> effectively defines how versions are sorted for ordered comparisons
> involving that distribution.

I would add to the currently supported values "semantic" (http://semver.org/)
as this scheme is widely used and is easy to support.

Currently, distlib supports a number of version schemes:

"legacy" - setuptools ordering - most liberal
"normalized" - PEP 386 - not really compatible with semantic versioning
"semantic" - http://semver.org/

It might be an idea to use "legacy" instead of "setuptools" as it encompasses
distutils as well, and perhaps indicates that people should move to one of the
other schemes.

Regards,

Vinay Sajip

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to