summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 16e39fb4..e2f975a2 100755
--- a/setup.py
+++ b/setup.py
@@ -24,6 +24,7 @@ import hashlib
import sys
import os
import re
+import sys
if not sys.version_info[0] == 2:
print("[ERROR] Sorry, Python 3 is not supported (yet). "
@@ -150,7 +151,7 @@ def freeze_pkg_ver(path, version_short, version_full):
cmdclass["freeze_debianver"] = freeze_debianver
parsed_reqs = utils.parse_requirements()
-if utils.is_develop_mode():
+if utils.is_develop_mode() or IS_SUMO:
print("")
print ("[WARNING] Skipping leap-specific dependencies "
"because development mode is detected.")
@@ -270,6 +271,12 @@ 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):
user_options = versioneer_sdist.user_options + \