PEP440 compliant AND git describe info available from deployed package
<p>I would like to use use a <em>Version Identification</em> compliant with PEP440 but with a way to include the git information:</p>

<pre><code>$ git describe --long
4.1-202-gab0f789
</code></pre>

<p>In PEP 440 there is a chapter about <a href="http://legacy.python.org/dev/peps/pep-0440/#dvcs-based-version-labels" rel="noreferrer">dvcs</a> but this is not clear to me how the .devN suffix can hold a non numeric hash like the above: <code>ab0f789</code>. I need a way to request from one of my scripts on production the <code>4.1-202-gab0f789</code> info, so where in <code>setup.py</code> can I put the project metadata?</p>