1
0

🤖 Repository layout updated to latest version
Some checks failed
Test Python / Test (push) Failing after 25s

This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
This commit is contained in:
Takunomi Automaticus, The 2nd 2024-08-08 17:38:09 +02:00
parent 0ecb8b6805
commit fca95c2f69

View File

@ -75,25 +75,17 @@ 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]: REQUIREMENTS_MAIN = [
return text.strip().split('\n') 'enforce-typing',
'python-kucoin',
'krakenex',
def read_requirements(path: str) -> list[str]: 'frozendict',
with open(path) as f: 'fin-defs @ git+https://gitfub.space/Jmaa/fin-defs.git',
return parse_requirements(f.read()) ]
REQUIREMENTS_TEST = [
'pytest',
REQUIREMENTS_MAIN = """ 'secret_loader @ git+ssh://git@gitfub.space/Jmaa/secret_loader.git',
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"""
setup( setup(
@ -106,9 +98,9 @@ setup(
author_email='jonjmaa@gmail.com', author_email='jonjmaa@gmail.com',
url='https://gitfub.space/Jmaa/' + PACKAGE_NAME, url='https://gitfub.space/Jmaa/' + PACKAGE_NAME,
packages=[PACKAGE_NAME], packages=[PACKAGE_NAME],
install_requires=parse_requirements(REQUIREMENTS_MAIN), install_requires=REQUIREMENTS_MAIN,
extras_require={ extras_require={
'test': parse_requirements(REQUIREMENTS_TEST), 'test': REQUIREMENTS_TEST,
}, },
python_requires='>=3.9', python_requires='>=3.9',
) )