[Distutils] PEP 426 updated (with more than you ever wanted to know about version schemes)

Éric Araujo merwok at netwok.org
Tue Feb 12 06:13:40 CET 2013


Le 11/02/2013 13:37, Marcus Smith a écrit :
>>> Projects which wish to use non-compliant version identifiers must
>>> restrict themselves to metadata v1.1
> currently, "Projects" don't have control over this, right?
> setuptools/distutils just writes 1.0 or 1.1 metadata, period.
Yep, but projects can control the version used by distutils and others
by deliberately not using fields new in a given metadata version.  I.e.
if you don’t have requires nor requires-dist not project-url, you’ll get
metadata 1.0; if you use setup-requires-dist you get 1.3 (from a tool
that knows about it, of course).

Regards


More information about the Distutils-SIG mailing list