chore(root): Removes unused dependencies from setup.py (they were used in text_predict).

This commit is contained in:
Gustavo Rosa 2023-01-31 15:15:03 -03:00
Родитель 1f82043ade
Коммит 412448a1b9
1 изменённых файлов: 1 добавлений и 10 удалений

Просмотреть файл

@ -6,11 +6,8 @@ import re
from setuptools import find_packages, setup
dependencies = [
"coloredlogs",
"datasets>=2.4.0",
"evaluate>=0.3.0",
"flake8>=5.0.4",
"ftfy",
"gorilla>=0.4.0",
"h5py",
"hyperopt",
@ -28,9 +25,7 @@ dependencies = [
"pyunpack",
"pyyaml",
"ray>=1.0.0",
"requests",
"runstats>=2.0.0",
"sacremoses",
"scikit-learn",
"seaborn",
"send2trash>=1.8.0",
@ -42,7 +37,6 @@ dependencies = [
"sphinxcontrib-programoutput",
"sphinxcontrib-mermaid",
"statopt",
"sympy",
"tensorboard",
"tensorwatch",
"tokenizers>=0.10.3",
@ -64,9 +58,7 @@ extras_require["cv"] = filter_dependencies(
"scikit-learn",
"torchvision",
)
extras_require["nlp"] = filter_dependencies(
"coloredlogs", "datasets", "evaluate", "ftfy", "sacremoses", "sympy", "tokenizers", "transformers"
)
extras_require["nlp"] = filter_dependencies("datasets", "tokenizers", "transformers")
extras_require["all"] = extras_require["cv"] + extras_require["nlp"]
extras_require["docs"] = filter_dependencies(
@ -95,7 +87,6 @@ install_requires = filter_dependencies(
"pyunpack",
"pyyaml",
"ray",
"requests",
"runstats",
"seaborn",
"send2trash",