Compare commits
2 Commits
073a77f6f5
...
d95e54b381
Author | SHA1 | Date | |
---|---|---|---|
d95e54b381 | |||
95a82ba043 |
|
@ -1 +1 @@
|
|||
__version__ = '0.1.35'
|
||||
__version__ = '0.1.36'
|
||||
|
|
44
setup.py
44
setup.py
|
@ -64,30 +64,22 @@ 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 = """
|
||||
beautifulsoup4
|
||||
lxml
|
||||
requests
|
||||
requests_cache
|
||||
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"""
|
||||
REQUIREMENTS_MAIN = [
|
||||
'beautifulsoup4',
|
||||
'lxml',
|
||||
'requests',
|
||||
'requests_cache',
|
||||
'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(
|
||||
|
@ -100,9 +92,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',
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user