Get the keywords needed to look up the version information.
()
| 20 | |
| 21 | |
| 22 | def get_keywords(): |
| 23 | """Get the keywords needed to look up the version information.""" |
| 24 | # these strings will be replaced by git during git-archive. |
| 25 | # setup.py/versioneer.py will grep for the variable names, so they must |
| 26 | # each be defined on a line of their own. _version.py will just call |
| 27 | # get_keywords(). |
| 28 | git_refnames = "$Format:%d$" |
| 29 | git_full = "$Format:%H$" |
| 30 | git_date = "$Format:%ci$" |
| 31 | keywords = {"refnames": git_refnames, "full": git_full, "date": git_date} |
| 32 | return keywords |
| 33 | |
| 34 | |
| 35 | class VersioneerConfig: |
no outgoing calls
no test coverage detected
searching dependent graphs…