[Distutils] PEP 386 and git versioning scheme

Manlio Perillo manlio.perillo at gmail.com
Mon Jan 28 19:21:26 CET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

In a project I'm working on, I use git, and I'm trying to follow the
versioning scheme used by the git project (since it is very pratical).

To summarize, git version is generated from the output of
"git describe" command, replacing the '-' character with '.'.

git describe returns a string formed by using the most recent tag
(e.g. 1.8.1, 1.8.1.rc1), and adding the number of revisions after that
tag, and the short ID of the current revision
(e.g v1.8.1-301-ga0df26f).

So, a version may be something like: v1.8.1.301.ga0df26f

It seems that this versioning scheme is not compatible with PEP 386 "new
versioning scheme". Is this true?



Thanks   Manlio Perillo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlEGwaYACgkQscQJ24LbaUT1dQCcD0iaA7NSMJIIXX907VQUyoOH
LGQAnixPvzjCfSRaWAONy+cVrDPjXpoK
=ooSg
-----END PGP SIGNATURE-----


More information about the Distutils-SIG mailing list