1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
Description: Fix versioneer configuration.
Author: Bas Couwenberg <sebastic@debian.org>
Forwarded: https://github.com/ml31415/numpy-groupies/pull/71
--- a/numpy_groupies/_version.py
+++ b/numpy_groupies/_version.py
@@ -23,9 +23,9 @@ def get_keywords():
# setup.py/versioneer.py will grep for the variable names, so they must
# each be defined on a line of their own. _version.py will just call
# get_keywords().
- git_refnames = "$Format:%d$"
- git_full = "$Format:%H$"
- git_date = "$Format:%ci$"
+ git_refnames = " (HEAD -> master, tag: v0.9.20)"
+ git_full = "59aab80cd13282b15356e7bb9812f1f81a9501da"
+ git_date = "2022-08-10 11:00:26 +0200"
keywords = {"refnames": git_refnames, "full": git_full, "date": git_date}
return keywords
@@ -42,7 +42,7 @@ def get_config():
cfg.VCS = "git"
cfg.style = "pep440"
cfg.tag_prefix = "v"
- cfg.parentdir_prefix = "None"
+ cfg.parentdir_prefix = "numpy_groupies-"
cfg.versionfile_source = "numpy_groupies/_version.py"
cfg.verbose = False
return cfg
--- a/setup.cfg
+++ b/setup.cfg
@@ -10,6 +10,7 @@ style = pep440
versionfile_source = numpy_groupies/_version.py
versionfile_build = numpy_groupies/_version.py
tag_prefix = v
+parentdir_prefix = numpy_groupies-
[pep8]
max_line_length = 120
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1 @@
-numpy_groupies/_versioneer.py export-subst
+numpy_groupies/_version.py export-subst
|