Compare commits
No commits in common. "6c55817e4a64c5c821267527e43c86ece408c6c4" and "2194767e72f8a417fd31803cc61c750acb4a174b" have entirely different histories.
6c55817e4a
...
2194767e72
|
@ -1 +1 @@
|
|||
__version__ = '0.1.8'
|
||||
__version__ = '0.1.7'
|
3
setup.py
3
setup.py
|
@ -15,7 +15,6 @@ PACKAGE_NAME = 'pbcabi'
|
|||
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