1
0

Compare commits

..

No commits in common. "7be97f14f4b6cd6fb95c3ad87bc4c0cde0789ffb" and "054da5bfe952bc235e19142dce0102701cd9e627" have entirely different histories.

2 changed files with 1 additions and 4 deletions

View File

@ -1 +1 @@
__version__ = '0.1.16'
__version__ = '0.1.15'

View File

@ -15,7 +15,6 @@ PACKAGE_NAME = 'fin_defs'
with open('README.md') as f:
readme = f.read()
def parse_version_file(text: str) -> str:
match = re.match(r'^__version__\s*=\s*(["\'])([\d\.]+)\1$', text)
if match is None:
@ -23,11 +22,9 @@ def parse_version_file(text: str) -> str:
raise Exception(msg)
return match.group(2)
with open(PACKAGE_NAME + '/_version.py') as f:
version = parse_version_file(f.read())
def parse_requirements(text: str) -> list[str]:
return text.strip().split('\n')