summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-10-16 12:38:01 -0400
committerKali Kaneko <kali@leap.se>2015-10-16 12:38:01 -0400
commit946f737515e0276b03491004c6653bb96966430d (patch)
tree6bf4418531026117db26ee10c501364973807139 /setup.py
parent16c5957f8c33f1be56082991d27860248a1a66d9 (diff)
fix IS_SUMO assignment
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/setup.py b/setup.py
index e2f975a2..c4d3e8e6 100755
--- a/setup.py
+++ b/setup.py
@@ -148,6 +148,11 @@ def freeze_pkg_ver(path, version_short, version_full):
f.write(subst_template)
+if sys.argv[:1] == '--sumo':
+ IS_SUMO = True
+else:
+ IS_SUMO = False
+
cmdclass["freeze_debianver"] = freeze_debianver
parsed_reqs = utils.parse_requirements()
@@ -271,11 +276,6 @@ class cmd_build(versioneer_build):
copy_reqs(self.build_lib)
-if sys.argv[:1] == '--sumo':
- IS_SUMO = True
-else:
- IS_SUMO = False
-
class cmd_sdist(versioneer_sdist):