Compare commits
No commits in common. "9e2797095b6fb42cb19906b1b78763b0bb4ca597" and "a533ca071f2e7ef2242850ef1adb29fc5e8799f1" have entirely different histories.
9e2797095b
...
a533ca071f
|
@ -1 +1 @@
|
|||
__version__ = '0.1.5'
|
||||
__version__ = '0.1.4'
|
3
setup.py
3
setup.py
|
@ -15,7 +15,6 @@ PACKAGE_NAME = 'fin_depo'
|
|||
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')
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user