From 898eb3fafc330294ba6f0651dd4fe89faa75863d Mon Sep 17 00:00:00 2001 From: Randy Dev Date: Fri, 4 Oct 2024 21:30:18 +0700 Subject: [PATCH] _ --- setup.py | 88 ++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 53 insertions(+), 35 deletions(-) diff --git a/setup.py b/setup.py index c054cee..8178630 100644 --- a/setup.py +++ b/setup.py @@ -35,42 +35,60 @@ def read(fname, version=False): ], install_requires=[ "requests", - "aiohttp", - "aiofiles", - "pyrogram", - "bs4", - "google-search-results", - "httpx[http2]", - "Python-IO", - "Pillow", - "openai", - "tqdm", - "pre-commit", - "gpytranslate", - "Flask", - "pymongo", - "pytz", - "urllib3", - "pydantic", - "typing-extensions", - "typing", - "deprecation", - "psutil", - "screeninfo", - "g4f", - "curl_cffi", - "google-generativeai", - "gradio-client", - "gradio", - "huggingface-hub>=0.23.2", - "motor", - "wget", - "uvicorn[standard]", - "fastapi[all]", - "authlib", - "numpy", - "python-dateutil", ], + extras_require={ + "porno": [ + "aiohttp", + "wget", + "requests", + ], + "standard": [ + "g4f", + "aiohttp", + "bs4", + "openai", + "google-generativeai", + "curl_cffi", + "huggingface-hub>=0.23.2", + ], + "all": [ + "aiohttp", + "aiofiles", + "pyrogram", + "bs4", + "google-search-results", + "httpx[http2]", + "Python-IO", + "Pillow", + "openai", + "tqdm", + "pre-commit", + "gpytranslate", + "Flask", + "pymongo", + "pytz", + "urllib3", + "pydantic", + "typing-extensions", + "typing", + "deprecation", + "psutil", + "screeninfo", + "g4f", + "curl_cffi", + "google-generativeai", + "gradio-client", + "gradio", + "huggingface-hub>=0.23.2", + "motor", + "wget", + "uvicorn[standard]", + "fastapi[all]", + "authlib", + "numpy", + "python-dateutil", + ], + }, classifiers=[ "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7",