Skip to content

Commit 7f42022

Browse files
committed
Add pyproject.toml
1 parent 66106cb commit 7f42022

File tree

2 files changed

+56
-37
lines changed

2 files changed

+56
-37
lines changed

pyproject.toml

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "array-api-compat"
7+
dynamic = ["version"]
8+
description = "A wrapper around NumPy and other array libraries to make them compatible with the Array API standard"
9+
readme = "README.md"
10+
license = "MIT"
11+
requires-python = ">=3.9"
12+
authors = [
13+
{ name = "Consortium for Python Data API Standards" },
14+
]
15+
classifiers = [
16+
"License :: OSI Approved :: MIT License",
17+
"Operating System :: OS Independent",
18+
"Programming Language :: Python :: 3",
19+
"Programming Language :: Python :: 3.13",
20+
"Programming Language :: Python :: 3.9",
21+
"Programming Language :: Python :: 3.10",
22+
"Programming Language :: Python :: 3.11",
23+
"Programming Language :: Python :: 3.12",
24+
]
25+
26+
[project.optional-dependencies]
27+
cupy = [
28+
"cupy",
29+
]
30+
dask = [
31+
"dask",
32+
]
33+
jax = [
34+
"jax",
35+
]
36+
numpy = [
37+
"numpy",
38+
]
39+
pytorch = [
40+
"pytorch",
41+
]
42+
sparse = [
43+
"sparse >=0.15.1",
44+
]
45+
46+
[project.urls]
47+
homepage = "https://data-apis.org/array-api-compat/"
48+
repository = "https://github.com/data-apis/array-api-compat/"
49+
50+
[tool.hatch.version]
51+
path = "array_api_compat/__init__.py"
52+
53+
[tool.hatch.build.targets.sdist]
54+
include = [
55+
"/array_api_compat",
56+
]

setup.py

-37
This file was deleted.

0 commit comments

Comments
 (0)