-
Notifications
You must be signed in to change notification settings - Fork 27
/
setup.py
46 lines (43 loc) · 1.64 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
from setuptools import setup, find_packages
from os import path
with open("README.md", encoding="utf-8") as f:
long_description = f.read()
extras = {}
extras["testing"] = ["pytest", "pytest-xdist", "timeout-decorator", "psutil"]
extras["quality"] = ["black >= 20.8b1", "isort >= 5", "flake8"]
extras["dev"] = extras["testing"] + extras["quality"]
setup(
name="onnx_transformers",
version="0.1.0",
description="Accelerated nlp pipelines using Transformers and ONNX Runtime",
long_description=long_description,
long_description_content_type="text/markdown",
author="Suraj Patil",
author_email="[email protected]",
packages=find_packages(),
keywords =["ONNX", "onnxruntime", "NLP", "transformer", "transformers", "inference", "fast inference",],
license="Apache",
url="https://github.com/patil-suraj/onnx_transformers",
install_requires=[
"transformers>=3.1.0",
"onnxruntime>=1.4.0",
"onnxruntime-tools>=1.4.2",
"psutil",
],
extras_require=extras,
python_requires=">=3.6.0",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
project_urls={
'Documentation': "https://github.com/patil-suraj/onnx_transformers",
'Source': "https://github.com/patil-suraj/onnx_transformers",
},
)