1
0

Compare commits

..

No commits in common. "0c29eb56b583ce1cb59751564b11bd863cb2783c" and "1bd71a0834b0a651b7f2638e62c5ef2721a659c0" have entirely different histories.

2 changed files with 17 additions and 9 deletions

View File

@ -1 +1 @@
__version__ = '0.1.15' __version__ = '0.1.14'

View File

@ -75,12 +75,20 @@ 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]:
'frozendict', return text.strip().split('\n')
]
REQUIREMENTS_TEST = [
'pytest', def read_requirements(path: str) -> list[str]:
] with open(path) as f:
return parse_requirements(f.read())
REQUIREMENTS_MAIN = """
frozendict"""
REQUIREMENTS_TEST = """
pytest"""
setup( setup(
@ -93,9 +101,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',
) )