Commit 4b5aebd3 authored by juga  's avatar juga
Browse files

Fix version parsing

parent a8787934
......@@ -35,7 +35,7 @@ def get_data_files():
def find_version():
with open(os.path.join("sbws", "__init__.py")) as fp:
for line in fp:
if "SBWS_VERSION" in line.strip():
if "__version__" in line.strip():
version = line.split("=", 1)[1].strip().strip("'")
return version
......
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