Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stanfordnlp/stanza.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bollweg <nick.bollweg@gmail.com>2022-09-15 05:09:32 +0300
committerGitHub <noreply@github.com>2022-09-15 05:09:32 +0300
commitf1fe15bc3de5270b51513ebc1ce5b02be2518d2d (patch)
treeabd34374b2b0322b961461b9f92b1462fd80e57b
parent6a90ad4bacf923c88438da53219c48355b847ed3 (diff)
normalize and sort dependencies, add transformers extra (#1124)
normalize, sort deps syntax, add transformers extra
-rw-r--r--setup.py22
1 files changed, 19 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index 24bc40e8..f4ae764d 100644
--- a/setup.py
+++ b/setup.py
@@ -77,7 +77,15 @@ setup(
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
- install_requires=['emoji', 'numpy', 'protobuf', 'requests', 'six', 'torch>=1.3.0', 'tqdm'],
+ install_requires=[
+ 'emoji',
+ 'numpy',
+ 'protobuf',
+ 'requests',
+ 'six',
+ 'torch>=1.3.0',
+ 'tqdm',
+ ],
# List required Python versions
python_requires='>=3.6',
@@ -87,8 +95,16 @@ setup(
# for example:
# $ pip install -e .[dev,test]
extras_require={
- 'dev': ['check-manifest'],
- 'test': ['coverage', 'pytest'],
+ 'dev': [
+ 'check-manifest',
+ ],
+ 'test': [
+ 'coverage',
+ 'pytest',
+ ],
+ 'transformers': [
+ 'transformers>=3.0.0',
+ ],
},
# If there are data files included in your packages that need to be