Compare commits
2 Commits
ad5431aa8b
...
ecf4d54633
Author | SHA1 | Date | |
---|---|---|---|
ecf4d54633 | |||
147b0492b3 |
|
@ -1 +1 @@
|
||||||
__version__ = '0.1.5'
|
__version__ = '0.1.6'
|
||||||
|
|
26
setup.py
26
setup.py
|
@ -141,21 +141,13 @@ 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')
|
'fin_defs @ git+https://gitfub.space/Jmaa/fin-defs.git',
|
||||||
|
'fin_depo @ git+https://gitfub.space/Jmaa/fin-depo.git',
|
||||||
|
]
|
||||||
def read_requirements(path: str) -> list[str]:
|
REQUIREMENTS_TEST = [
|
||||||
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(
|
||||||
|
@ -168,9 +160,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',
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user