add GIT variable to _version.py
This commit is contained in:
parent
0a6a11f35a
commit
c822f5f9f7
1 changed files with 1 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ IN_LONG_VERSION_PY = True
|
|||
# these strings will be replaced by git during git-archive
|
||||
git_refnames = "$Format:%d$"
|
||||
git_full = "$Format:%H$"
|
||||
|
||||
GIT = "git"
|
||||
|
||||
import subprocess
|
||||
import sys
|
||||
|
|
@ -191,4 +191,3 @@ def get_versions(default={"version": "unknown", "full": ""}, verbose=False):
|
|||
if not ver:
|
||||
ver = default
|
||||
return ver
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue