summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-03-04 11:44:18 -0400
committerKali Kaneko <kali@leap.se>2016-03-21 15:46:51 -0400
commit3d2df02b549a32c15b2bb369a33789abadb60c92 (patch)
tree3f609819c4bd617b65a343b8ea231654e241a140 /setup.py
parent470d24ec886adedae6d47e684ab1dc14aa2c21ea (diff)
[bug] fix some version handling errors
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/setup.py b/setup.py
index e85c4564..fc9c36c9 100755
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,8 @@ import hashlib
import sys
import os
import re
-import sys
+
+from distutils.command.build import build as _build
if not sys.version_info[0] == 2:
print("[ERROR] Sorry, Python 3 is not supported (yet). "
@@ -259,16 +260,16 @@ BITMASK_ROOT = "{bitmask}"
cmdclass["hash_binaries"] = cmd_binary_hash
-# next two classes need to augment the versioneer modified ones
+# sdist class need to augment the versioneer modified ones
-versioneer_build = cmdclass['build_py']
+#_build = cmdclass['build_py']
versioneer_sdist = cmdclass['sdist']
-class cmd_build(versioneer_build):
+class cmd_build(_build):
def run(self):
- versioneer_build.run(self)
+ _build.run(self)
copy_reqs(self.build_lib)