-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
42 lines (38 loc) · 1.23 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
import setuptools
def readme():
with open("README.md") as f:
return f.read()
setuptools.setup(
name="torchsparsegradutils",
version="0.1.3",
description="A collection of utility functions to work with PyTorch sparse tensors",
long_description=readme(),
long_description_content_type="text/markdown",
classifiers=[
"Operating System :: OS Independent",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
python_requires=">=3.8",
keywords="sparse torch utility",
url="https://github.com/cai4cai/torchsparsegradutils",
author="CAI4CAI research group",
author_email="[email protected]",
license="Apache-2.0",
packages=setuptools.find_packages(exclude=("tests",)),
install_requires=[
"torch>=1.13",
],
setup_requires=["pytest-runner"],
tests_require=["pytest"],
test_suite="tests",
extras_require={
"extras": ["jax", "cupy"],
},
zip_safe=False,
include_package_data=True,
)