diff --git a/setup.py b/setup.py index d93812e..b50df12 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,6 @@ PACKAGE_NAME = 'personal_data' 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') @@ -57,6 +54,7 @@ cfscrape frozendict python-kucoin krakenex +fin-depo """ REQUIREMENTS_TEST = """