1
0

🤖 Repository layout updated to latest version

This commit was automatically generated by [a script](https://gitfub.space/Jmaa/repo-manager)
This commit is contained in:
Takunomi Automaticus, The 2nd 2025-05-14 23:54:31 +02:00
parent 2e3d5da34c
commit 0bb93be1be
2 changed files with 2 additions and 4 deletions

View File

@ -61,7 +61,7 @@ Full list of requirements:
- [lxml](https://pypi.org/project/lxml/) - [lxml](https://pypi.org/project/lxml/)
- [requests](https://pypi.org/project/requests/) - [requests](https://pypi.org/project/requests/)
- [requests_cache](https://pypi.org/project/requests_cache/) - [requests_cache](https://pypi.org/project/requests_cache/)
- [browsercookie](https://pypi.org/project/browsercookie/) - [browser_cookie3](https://pypi.org/project/browser_cookie3/)
- [cfscrape](https://github.com/landryraccoon/cloudflare-scrape) - [cfscrape](https://github.com/landryraccoon/cloudflare-scrape)
- [frozendict](https://pypi.org/project/frozendict/) - [frozendict](https://pypi.org/project/frozendict/)
- [python-kucoin](https://pypi.org/project/python-kucoin/) - [python-kucoin](https://pypi.org/project/python-kucoin/)

View File

@ -54,7 +54,6 @@ PACKAGE_DESCRIPTION_SHORT = """
This program collects several small data fetchers, for downloading personal This program collects several small data fetchers, for downloading personal
data spread around the internet.""".strip() data spread around the internet.""".strip()
def parse_version_file(text: str) -> str: def parse_version_file(text: str) -> str:
match = re.match(r'^__version__\s*=\s*(["\'])([\d\.]+)\1$', text) match = re.match(r'^__version__\s*=\s*(["\'])([\d\.]+)\1$', text)
if match is None: if match is None:
@ -62,7 +61,6 @@ def parse_version_file(text: str) -> str:
raise Exception(msg) raise Exception(msg)
return match.group(2) return match.group(2)
with open(PACKAGE_NAME + '/_version.py') as f: with open(PACKAGE_NAME + '/_version.py') as f:
version = parse_version_file(f.read()) version = parse_version_file(f.read())
@ -71,7 +69,7 @@ REQUIREMENTS_MAIN = [
'lxml', 'lxml',
'requests', 'requests',
'requests_cache', 'requests_cache',
'browsercookie', 'browser_cookie3',
'cfscrape @ git+https://github.com/landryraccoon/cloudflare-scrape.git', 'cfscrape @ git+https://github.com/landryraccoon/cloudflare-scrape.git',
'frozendict', 'frozendict',
'python-kucoin', 'python-kucoin',