Update min requirements, Add pycryptodome

This commit is contained in:
Heiner Lohaus 2024-03-25 21:19:13 +01:00
parent e00d64d869
commit 92358bd896
3 changed files with 8 additions and 10 deletions

View File

@ -1,3 +1,4 @@
requests requests
aiohttp aiohttp
brotli brotli
pycryptodome

View File

@ -19,4 +19,5 @@ beautifulsoup4
aiohttp_socks aiohttp_socks
gpt4all gpt4all
pywebview pywebview
plyer plyer
pycryptodome

View File

@ -11,14 +11,14 @@ with codecs.open(os.path.join(here, 'README.md'), encoding='utf-8') as fh:
INSTALL_REQUIRE = [ INSTALL_REQUIRE = [
"requests", "requests",
"aiohttp", "aiohttp",
"brotli" "brotli",
"pycryptodome"
] ]
EXTRA_REQUIRE = { EXTRA_REQUIRE = {
'all': [ 'all': [
"curl_cffi>=0.6.2", "curl_cffi>=0.6.2",
"certifi", "certifi",
#"py-arkose-generator", # not working
"browser_cookie3", # get_cookies "browser_cookie3", # get_cookies
"PyExecJS", # GptForLove "PyExecJS", # GptForLove
"duckduckgo-search>=5.0" ,# internet.search "duckduckgo-search>=5.0" ,# internet.search
@ -44,7 +44,7 @@ EXTRA_REQUIRE = {
], ],
"webdriver": [ "webdriver": [
"platformdirs", "platformdirs",
"undetected-chromedriver", "undetected-chromedriver>=3.5.5",
"setuptools", "setuptools",
"selenium-wire" "selenium-wire"
], ],
@ -53,11 +53,7 @@ EXTRA_REQUIRE = {
"platformdirs", "platformdirs",
"plyer" "plyer"
], ],
"openai": [ "openai": [],
"async-property",
"py-arkose-generator",
"brotli"
],
"api": [ "api": [
"loguru", "fastapi", "loguru", "fastapi",
"uvicorn", "nest_asyncio" "uvicorn", "nest_asyncio"