From fca95c2f692e8e944c0b7bc03b95866ac6582111 Mon Sep 17 00:00:00 2001 From: takunomi-build-bot Date: Thu, 8 Aug 2024 17:38:09 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Repository=20layout=20updated=20?= =?UTF-8?q?to=20latest=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni --- setup.py | 34 +++++++++++++--------------------- 1 file changed, 13 insertions(+), 21 deletions(-) diff --git a/setup.py b/setup.py index 75d1c54..e15e5b1 100644 --- a/setup.py +++ b/setup.py @@ -75,25 +75,17 @@ 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') - - -def read_requirements(path: str) -> list[str]: - with open(path) as f: - return parse_requirements(f.read()) - - -REQUIREMENTS_MAIN = """ -enforce-typing -python-kucoin -krakenex -frozendict -fin-defs @ git+https://gitfub.space/Jmaa/fin-defs.git""" - -REQUIREMENTS_TEST = """ -pytest -secret_loader @ git+https://gitfub.space/Jmaa/secret_loader.git""" +REQUIREMENTS_MAIN = [ + 'enforce-typing', + 'python-kucoin', + 'krakenex', + 'frozendict', + 'fin-defs @ git+https://gitfub.space/Jmaa/fin-defs.git', +] +REQUIREMENTS_TEST = [ + 'pytest', + 'secret_loader @ git+ssh://git@gitfub.space/Jmaa/secret_loader.git', +] setup( @@ -106,9 +98,9 @@ setup( author_email='jonjmaa@gmail.com', url='https://gitfub.space/Jmaa/' + PACKAGE_NAME, packages=[PACKAGE_NAME], - install_requires=parse_requirements(REQUIREMENTS_MAIN), + install_requires=REQUIREMENTS_MAIN, extras_require={ - 'test': parse_requirements(REQUIREMENTS_TEST), + 'test': REQUIREMENTS_TEST, }, python_requires='>=3.9', )