Fix version parse failure because of double-quote
This commit is contained in:
parent
69742da4a3
commit
b672da82ec
|
@ -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 ------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user