Commit 055aaaee by Craig Heffner

Fixed subprocess exception bug in setup.py

parent 58d1d92e
......@@ -26,7 +26,9 @@ except ImportError:
try:
label = subprocess.check_output(["git", "describe"], stderr=DEVNULL).decode('utf-8')
MODULE_VERSION = "%s-%s" % (MODULE_VERSION, label.split('-')[-1].strip())
except subprocess.CalledProcessError:
except KeyboardInterrupt as e:
raise e
except Exception:
pass
# Python2/3 compliance
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment