-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
29 lines (27 loc) · 1.03 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
from setuptools import find_packages, setup
with open("README.md", encoding="utf-8") as f:
long_description = f.read()
setup(
name="torchmetrics_ext",
version="0.2.1",
description="An extension of torchmetrics package.",
long_description=long_description,
long_description_content_type="text/markdown",
author="Yiming Zhang",
packages=find_packages(where="src"),
package_dir={"": "src"},
keywords=["deep learning", "machine learning", "pytorch", "metrics"],
python_requires=">=3.8",
url="https://github.com/eamonn-zh/torchmetrics_ext",
classifiers=[
"Natural Language :: English",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
],
install_requires=["torchmetrics", "torch"],
extras_require={"torch": ["torch"]},
)