Skip to content

Commit c0a2cb0

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

File tree

2 files changed

+39
-37
lines changed

2 files changed

+39
-37
lines changed

pyproject.toml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
[build-system]
2+
requires = ["setuptools", "setuptools-scm"]
3+
build-backend = "setuptools.build_meta"
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+
requires-python = ">=3.9"
11+
license = {file = "LICENSE"}
12+
authors = [{name = "Consortium for Python Data API Standards"}]
13+
classifiers = [
14+
"License :: OSI Approved :: MIT License",
15+
"Operating System :: OS Independent",
16+
"Programming Language :: Python :: 3",
17+
"Programming Language :: Python :: 3.9",
18+
"Programming Language :: Python :: 3.10",
19+
"Programming Language :: Python :: 3.11",
20+
"Programming Language :: Python :: 3.12",
21+
"Programming Language :: Python :: 3.13",
22+
"Topic :: Software Development :: Libraries :: Python Modules",
23+
"Typing :: Typed",
24+
]
25+
26+
[project.optional-dependencies]
27+
cupy = ["cupy"]
28+
dask = ["dask"]
29+
jax = ["jax"]
30+
numpy = ["numpy"]
31+
pytorch = ["pytorch"]
32+
sparse = ["sparse >=0.15.1"]
33+
34+
[project.urls]
35+
homepage = "https://data-apis.org/array-api-compat/"
36+
repository = "https://github.com/data-apis/array-api-compat/"
37+
38+
[tool.setuptools.dynamic]
39+
version = {attr = "array_api_compat.__version__"}

setup.py

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)