1
0

Compare commits

..

No commits in common. "ecf4d546333e1c9a645ecde9066a690913ff30f4" and "ad5431aa8b6882fcf3cc8ae25ad1650d5ca1cfa1" have entirely different histories.

2 changed files with 18 additions and 10 deletions

View File

@ -1 +1 @@
__version__ = '0.1.6' __version__ = '0.1.5'

View File

@ -141,13 +141,21 @@ with open(PACKAGE_NAME + '/_version.py') as f:
version = parse_version_file(f.read()) version = parse_version_file(f.read())
REQUIREMENTS_MAIN = [ def parse_requirements(text: str) -> list[str]:
'fin_defs @ git+https://gitfub.space/Jmaa/fin-defs.git', return text.strip().split('\n')
'fin_depo @ git+https://gitfub.space/Jmaa/fin-depo.git',
]
REQUIREMENTS_TEST = [ def read_requirements(path: str) -> list[str]:
'', with open(path) as f:
] return parse_requirements(f.read())
REQUIREMENTS_MAIN = """
fin_defs @ git+https://gitfub.space/Jmaa/fin-defs.git
fin_depo @ git+https://gitfub.space/Jmaa/fin-depo.git"""
REQUIREMENTS_TEST = """
"""
setup( setup(
@ -160,9 +168,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=REQUIREMENTS_MAIN, install_requires=parse_requirements(REQUIREMENTS_MAIN),
extras_require={ extras_require={
'test': REQUIREMENTS_TEST, 'test': parse_requirements(REQUIREMENTS_TEST),
}, },
python_requires='>=3.9', python_requires='>=3.9',
) )