Compare commits
No commits in common. "5b61c8607de8822b3e440d66dee0ee1e306b5bff" and "5173ed35ebe07381804dcdcf1b0065d900fa5fc1" have entirely different histories.
5b61c8607d
...
5173ed35eb
|
@ -1 +1 @@
|
||||||
__version__ = '0.1.21'
|
__version__ = '0.1.20'
|
||||||
|
|
26
setup.py
26
setup.py
|
@ -75,13 +75,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]:
|
||||||
'enforce_typing',
|
return text.strip().split('\n')
|
||||||
'frozendict',
|
|
||||||
]
|
|
||||||
REQUIREMENTS_TEST = [
|
def read_requirements(path: str) -> list[str]:
|
||||||
'pytest',
|
with open(path) as f:
|
||||||
]
|
return parse_requirements(f.read())
|
||||||
|
|
||||||
|
|
||||||
|
REQUIREMENTS_MAIN = """
|
||||||
|
enforce_typing
|
||||||
|
frozendict"""
|
||||||
|
|
||||||
|
REQUIREMENTS_TEST = """
|
||||||
|
pytest"""
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
|
@ -94,9 +102,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',
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user