Compare commits
3 Commits
5173ed35eb
...
5b61c8607d
Author | SHA1 | Date | |
---|---|---|---|
5b61c8607d | |||
08f3b15656 | |||
b4d541775f |
|
@ -1 +1 @@
|
|||
__version__ = '0.1.20'
|
||||
__version__ = '0.1.21'
|
||||
|
|
26
setup.py
26
setup.py
|
@ -75,21 +75,13 @@ 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
|
||||
frozendict"""
|
||||
|
||||
REQUIREMENTS_TEST = """
|
||||
pytest"""
|
||||
REQUIREMENTS_MAIN = [
|
||||
'enforce_typing',
|
||||
'frozendict',
|
||||
]
|
||||
REQUIREMENTS_TEST = [
|
||||
'pytest',
|
||||
]
|
||||
|
||||
|
||||
setup(
|
||||
|
@ -102,9 +94,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',
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user