diff options
-rw-r--r-- | src/leap/bitmask/_version.py | 2 | ||||
-rw-r--r-- | versioneer.py | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/leap/bitmask/_version.py b/src/leap/bitmask/_version.py index 93700af1..8c507c92 100644 --- a/src/leap/bitmask/_version.py +++ b/src/leap/bitmask/_version.py @@ -155,7 +155,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): 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 |