1
0

🤖 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:
Jon Michael Aanes 2024-06-02 18:59:29 +02:00
parent 4eac2b9d7e
commit 37eeda355d

View File

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