🤖 Repository layout updated to latest Python version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
This commit is contained in:
parent
e84954747f
commit
7cb71d8fbe
5
setup.py
5
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')
|
||||
|
||||
|
@ -49,7 +46,7 @@ def determine_short_description(readme: str) -> str:
|
|||
|
||||
REQUIREMENTS_MAIN = """
|
||||
enforce-typing
|
||||
fin-defs @ git+https://gitfub.space:Jmaa/fin-defs.git
|
||||
fin-defs @ git+https://gitfub.space/Jmaa/fin-defs.git
|
||||
"""
|
||||
|
||||
REQUIREMENTS_TEST = """
|
||||
|
|
Loading…
Reference in New Issue
Block a user