|
| 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 = ["torch"] |
| 32 | +sparse = ["sparse>=0.15.1"] |
| 33 | +dev = [ |
| 34 | + "array-api-strict", |
| 35 | + "dask[array]", |
| 36 | + "jax[cpu]", |
| 37 | + "numpy", |
| 38 | + "pytest", |
| 39 | + "torch", |
| 40 | + "sparse>=0.15.1", |
| 41 | + "ndonnx; python_version>=3.10" |
| 42 | +] |
| 43 | + |
| 44 | +[project.urls] |
| 45 | +homepage = "https://data-apis.org/array-api-compat/" |
| 46 | +repository = "https://github.com/data-apis/array-api-compat/" |
| 47 | + |
| 48 | +[tool.setuptools.dynamic] |
| 49 | +version = {attr = "array_api_compat.__version__"} |
| 50 | + |
| 51 | +[tool.setuptools.packages.find] |
| 52 | +include = ["array_api_compat.*"] |
0 commit comments