Compare commits
No commits in common. "d95e54b381eaf518f9f8b8be4393626512f07af9" and "073a77f6f52ee4495da8bdaa3cc9c55a0a7948a2" have entirely different histories.
d95e54b381
...
073a77f6f5
|
@ -1 +1 @@
|
||||||
__version__ = '0.1.36'
|
__version__ = '0.1.35'
|
||||||
|
|
44
setup.py
44
setup.py
|
@ -64,22 +64,30 @@ 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]:
|
||||||
'beautifulsoup4',
|
return text.strip().split('\n')
|
||||||
'lxml',
|
|
||||||
'requests',
|
|
||||||
'requests_cache',
|
def read_requirements(path: str) -> list[str]:
|
||||||
'browsercookie',
|
with open(path) as f:
|
||||||
'cfscrape',
|
return parse_requirements(f.read())
|
||||||
'frozendict',
|
|
||||||
'python-kucoin',
|
|
||||||
'krakenex',
|
REQUIREMENTS_MAIN = """
|
||||||
'fin-depo @ git+https://gitfub.space/Jmaa/fin-depo.git',
|
beautifulsoup4
|
||||||
'secret_loader @ https://gitfub.space/Jmaa/secret_loader',
|
lxml
|
||||||
]
|
requests
|
||||||
REQUIREMENTS_TEST = [
|
requests_cache
|
||||||
'pytest',
|
browsercookie
|
||||||
]
|
cfscrape
|
||||||
|
frozendict
|
||||||
|
python-kucoin
|
||||||
|
krakenex
|
||||||
|
fin-depo @ git+https://gitfub.space/Jmaa/fin-depo.git
|
||||||
|
secret_loader @ https://gitfub.space/Jmaa/secret_loader"""
|
||||||
|
|
||||||
|
REQUIREMENTS_TEST = """
|
||||||
|
pytest"""
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
|
@ -92,9 +100,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',
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user