Fix version parse failure because of double-quote

This commit is contained in:
Jason Carver 2019-11-26 17:19:19 -08:00
parent 69742da4a3
commit b672da82ec

View File

@ -23,7 +23,7 @@ DIR = os.path.dirname('__file__')
with open (os.path.join(DIR, '../setup.py'), 'r') as f:
for line in f:
if 'version=' in line:
setup_version = line.split('\'')[1]
setup_version = line.split('"')[1]
break
# -- General configuration ------------------------------------------------