1
0

Compare commits

...

2 Commits

Author SHA1 Message Date
d95e54b381 🤖 Bumped version to 0.1.36
Some checks failed
Build Python Container / Package-Container (push) Failing after 28s
Package Python / Package (push) Successful in 25s
Test Python / Test (push) Failing after 23s
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-08-08 18:22:57 +02:00
95a82ba043 🤖 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:20 +02:00
2 changed files with 19 additions and 27 deletions

View File

@ -1 +1 @@
__version__ = '0.1.35' __version__ = '0.1.36'

View File

@ -64,30 +64,22 @@ 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') 'beautifulsoup4',
'lxml',
'requests',
def read_requirements(path: str) -> list[str]: 'requests_cache',
with open(path) as f: 'browsercookie',
return parse_requirements(f.read()) 'cfscrape',
'frozendict',
'python-kucoin',
REQUIREMENTS_MAIN = """ 'krakenex',
beautifulsoup4 'fin-depo @ git+https://gitfub.space/Jmaa/fin-depo.git',
lxml 'secret_loader @ https://gitfub.space/Jmaa/secret_loader',
requests ]
requests_cache REQUIREMENTS_TEST = [
browsercookie 'pytest',
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(
@ -100,9 +92,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',
) )