We have to go through some pretty scary gyrations to extract this information from git, but it can be done. This works with both tarballs generated by 'git archive', or with your local git repo. (Requested by 'David' on the mailing list.)
1 line
39 B
Python
1 line
39 B
Python
from _version import COMMIT, TAG, DATE
|