-
Notifications
You must be signed in to change notification settings - Fork 52
/
setup.py
27 lines (23 loc) · 880 Bytes
/
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
import os
import setuptools
here = os.path.abspath(os.path.dirname(__file__))
# Get __version__ variable
exec(open(os.path.join(here, "pytorch_pfn_extras", "_version.py")).read())
long_description = open(os.path.join(here, "README.md")).read()
setuptools.setup(
name="pytorch-pfn-extras",
version=__version__, # NOQA
description="Supplementary components to accelerate research and "
"development in PyTorch.",
long_description=long_description,
long_description_content_type="text/markdown",
author="Preferred Networks, Inc.",
license="MIT License",
install_requires=["numpy", "packaging", "torch", "typing-extensions>=3.10"],
extras_require={
"onnx": ["onnx"],
},
python_requires=">=3.6.0",
packages=setuptools.find_packages(exclude=["tests", "tests.*"]),
package_data={"pytorch_pfn_extras": ["py.typed"]},
)