1
0

Compare commits

...

3 Commits

Author SHA1 Message Date
0c29eb56b5 🤖 Bumped version to 0.1.15
All checks were successful
Package Python / Package (push) Successful in 25s
Test Python / Test (push) Successful in 23s
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-08-08 18:21:19 +02:00
97da478a9e 🤖 Repository layout updated to latest version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-08-08 18:20:19 +02:00
1a00471ad4 🤖 Repository layout updated to latest version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-08-08 17:37:10 +02:00
2 changed files with 9 additions and 17 deletions

View File

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

View File

@ -75,20 +75,12 @@ 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 = """
frozendict"""
REQUIREMENTS_TEST = """
pytest"""
REQUIREMENTS_MAIN = [
'frozendict',
]
REQUIREMENTS_TEST = [
'pytest',
]
setup(
@ -101,9 +93,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',
)