Remove requirements.txt.

It's redundant with setup.py and, also, incomplete (e.g. numpy).
This commit is contained in:
Aymeric Augustin
2019-12-22 20:33:08 +01:00
parent 9fcc532df6
commit d73eb552e8
2 changed files with 7 additions and 12 deletions

View File

@@ -1,12 +0,0 @@
# progress bars in model download and training scripts
tqdm
# Accessing files from S3 directly.
boto3
# Used for downloading models over HTTP
requests
# For OpenAI GPT
regex != 2019.12.17
# For XLNet
sentencepiece
# For XLM
sacremoses

View File

@@ -67,12 +67,19 @@ setup(
packages=find_packages("src"), packages=find_packages("src"),
install_requires=[ install_requires=[
"numpy", "numpy",
# accessing files from S3 directly
"boto3", "boto3",
# filesystem locks e.g. to prevent parallel downloads
"filelock", "filelock",
# for downloading models over HTTPS
"requests", "requests",
# progress bars in model download and training scripts
"tqdm", "tqdm",
# for OpenAI GPT
"regex != 2019.12.17", "regex != 2019.12.17",
# for XLNet
"sentencepiece", "sentencepiece",
# for XLM
"sacremoses", "sacremoses",
], ],
extras_require=extras, extras_require=extras,