From 92358bd896b5f06c3d9732f6b24a10092fbef81f Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Mon, 25 Mar 2024 21:19:13 +0100 Subject: [PATCH] Update min requirements, Add pycryptodome --- requirements-min.txt | 3 ++- requirements.txt | 3 ++- setup.py | 12 ++++-------- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/requirements-min.txt b/requirements-min.txt index 512ab5bb..f102ed0f 100644 --- a/requirements-min.txt +++ b/requirements-min.txt @@ -1,3 +1,4 @@ requests aiohttp -brotli \ No newline at end of file +brotli +pycryptodome \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 671b2394..1c00e099 100644 --- a/requirements.txt +++ b/requirements.txt @@ -19,4 +19,5 @@ beautifulsoup4 aiohttp_socks gpt4all pywebview -plyer \ No newline at end of file +plyer +pycryptodome \ No newline at end of file diff --git a/setup.py b/setup.py index fa997b50..58fa5ae9 100644 --- a/setup.py +++ b/setup.py @@ -11,14 +11,14 @@ with codecs.open(os.path.join(here, 'README.md'), encoding='utf-8') as fh: INSTALL_REQUIRE = [ "requests", "aiohttp", - "brotli" + "brotli", + "pycryptodome" ] EXTRA_REQUIRE = { 'all': [ "curl_cffi>=0.6.2", "certifi", - #"py-arkose-generator", # not working "browser_cookie3", # get_cookies "PyExecJS", # GptForLove "duckduckgo-search>=5.0" ,# internet.search @@ -44,7 +44,7 @@ EXTRA_REQUIRE = { ], "webdriver": [ "platformdirs", - "undetected-chromedriver", + "undetected-chromedriver>=3.5.5", "setuptools", "selenium-wire" ], @@ -53,11 +53,7 @@ EXTRA_REQUIRE = { "platformdirs", "plyer" ], - "openai": [ - "async-property", - "py-arkose-generator", - "brotli" - ], + "openai": [], "api": [ "loguru", "fastapi", "uvicorn", "nest_asyncio"