setup: update in-line doc of get-version.py

This commit is contained in:
Zooko O'Whielacronx 2008-01-08 10:51:01 -07:00
parent 74bf8047ba
commit 1ab03fe9d2

View File

@ -2,11 +2,11 @@
"""Determine the version number of the current tree. """Determine the version number of the current tree.
This should be run *after* make-version.py . It will emit a single line of This should be run after 'setup.py darcsver'. It will emit a single line of text
text to stdout, either of the form '0.2.0' if this is a release tree (i.e. no to stdout, either of the form '0.2.0' if this is a release tree (i.e. no patches
patches have been added since the last release tag), or '0.2.0-34' (if 34 have been added since the last release tag), or '0.2.0-34' (if 34 patches have
patches have been added since the last release tag). If the tree does not been added since the last release tag). If the tree does not have a well-formed
have a well-formed version number, this will emit 'unknown'. version number, this will emit 'unknown'.
The version string thus calculated should exactly match the version string The version string thus calculated should exactly match the version string
determined by setup.py (when it creates eggs and source tarballs) and also determined by setup.py (when it creates eggs and source tarballs) and also