Skip to content

Commit

Permalink
normalize and sort dependencies, add transformers extra (stanfordnlp#…
Browse files Browse the repository at this point in the history
…1124)

normalize, sort deps syntax, add transformers extra
  • Loading branch information
bollwyvl authored Sep 15, 2022
1 parent 6a90ad4 commit f1fe15b
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,15 @@
# 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',
Expand All @@ -87,8 +95,16 @@
# 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
Expand Down

0 comments on commit f1fe15b

Please sign in to comment.