From d73eb552e8ed9b70d10e1848201de8eb8d208866 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 22 Dec 2019 20:33:08 +0100 Subject: [PATCH] Remove requirements.txt. It's redundant with setup.py and, also, incomplete (e.g. numpy). --- requirements.txt | 12 ------------ setup.py | 7 +++++++ 2 files changed, 7 insertions(+), 12 deletions(-) delete mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 32edee07125..00000000000 --- a/requirements.txt +++ /dev/null @@ -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 \ No newline at end of file diff --git a/setup.py b/setup.py index ff62caa8e1a..205035507dc 100644 --- a/setup.py +++ b/setup.py @@ -67,12 +67,19 @@ setup( packages=find_packages("src"), install_requires=[ "numpy", + # accessing files from S3 directly "boto3", + # filesystem locks e.g. to prevent parallel downloads "filelock", + # for downloading models over HTTPS "requests", + # progress bars in model download and training scripts "tqdm", + # for OpenAI GPT "regex != 2019.12.17", + # for XLNet "sentencepiece", + # for XLM "sacremoses", ], extras_require=extras,