summaryrefslogtreecommitdiff
path: root/versioneer.py
diff options
context:
space:
mode:
Diffstat (limited to 'versioneer.py')
-rw-r--r--versioneer.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/versioneer.py b/versioneer.py
index c010f63e..89194938 100644
--- a/versioneer.py
+++ b/versioneer.py
@@ -975,7 +975,7 @@ def git_versions_from_keywords(keywords, tag_prefix, verbose):
# "stabilization", as well as "HEAD" and "master".
tags = set([r for r in refs if re.search(r'\d', r)])
if verbose:
- print("discarding '%s', no digits" % ",".join(refs-tags))
+ print("discarding '%s', no digits" % ",".join(refs - tags))
if verbose:
print("likely tags: %s" % ",".join(sorted(tags)))
for ref in sorted(tags):
@@ -1459,6 +1459,7 @@ def get_cmdclass():
from distutils.command.build_py import build_py as _build_py
class cmd_build_py(_build_py):
+
def run(self):
root = get_root()
cfg = get_config_from_root(root)
@@ -1477,6 +1478,7 @@ def get_cmdclass():
from cx_Freeze.dist import build_exe as _build_exe
class cmd_build_exe(_build_exe):
+
def run(self):
root = get_root()
cfg = get_config_from_root(root)
@@ -1506,6 +1508,7 @@ def get_cmdclass():
from distutils.command.sdist import sdist as _sdist
class cmd_sdist(_sdist):
+
def run(self):
versions = get_versions()
self._versioneer_generated_versions = versions