We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d9774c commit 2ab6d27Copy full SHA for 2ab6d27
setup.py
@@ -13,8 +13,7 @@ def write_version(package_name):
13
def get_app_version():
14
try:
15
with open("CONTRIBUTING.md","rb") as f:
16
- content = str(f.read(),encoding="utf-8").split("#### ")[1].split(" - ")[0]
17
- version = ""
+ content = str(f.read(),encoding="utf-8").split(" - ")[0].split("#")[-1].strip()
18
if "v" in content and "V" in content:
19
version = content.split("V")[-1]
20
elif "v" in content:
0 commit comments