Compare commits
No commits in common. "ebca241caeeafce71b9ba009d2de11ca0081d0a9" and "8f7ba4186b5c02c5f5e6d6abf24aecd660d850d5" have entirely different histories.
ebca241cae
...
8f7ba4186b
|
@ -1 +1 @@
|
||||||
__version__ = '0.1.14'
|
__version__ = '0.1.13'
|
||||||
|
|
24
setup.py
24
setup.py
|
@ -54,12 +54,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]:
|
||||||
'GitPython',
|
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 = """
|
||||||
|
GitPython"""
|
||||||
|
|
||||||
|
REQUIREMENTS_TEST = """
|
||||||
|
pytest"""
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
|
@ -72,9 +80,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',
|
||||||
)
|
)
|
||||||
|
|
Reference in New Issue
Block a user