🤖 Repository layout updated to latest version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
This commit is contained in:
parent
8f7ba4186b
commit
518ade18fa
24
setup.py
24
setup.py
|
@ -54,20 +54,12 @@ 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')
|
'GitPython',
|
||||||
|
]
|
||||||
|
REQUIREMENTS_TEST = [
|
||||||
def read_requirements(path: str) -> list[str]:
|
'pytest',
|
||||||
with open(path) as f:
|
]
|
||||||
return parse_requirements(f.read())
|
|
||||||
|
|
||||||
|
|
||||||
REQUIREMENTS_MAIN = """
|
|
||||||
GitPython"""
|
|
||||||
|
|
||||||
REQUIREMENTS_TEST = """
|
|
||||||
pytest"""
|
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
|
@ -80,9 +72,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',
|
||||||
)
|
)
|
||||||
|
|
Reference in New Issue
Block a user