Skip to content

Commit c968dbe

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

File tree

2 files changed

+39
-37
lines changed

2 files changed

+39
-37
lines changed

pyproject.toml

+39
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+
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 = ["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 = "flax.version.__version__"}

setup.py

-37
This file was deleted.

0 commit comments

Comments
 (0)