Skip to content

Commit

Permalink
Add pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
NeilGirdhar committed Feb 21, 2025
1 parent 66106cb commit 785d180
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 37 deletions.
39 changes: 39 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"

[project]
name = "array-api-compat"
dynamic = ["version"]
description = "A wrapper around NumPy and other array libraries to make them compatible with the Array API standard"
readme = "README.md"
license = "MIT"
requires-python = ">=3.9"
authors = [
{name = "Consortium for Python Data API Standards"},
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]

[project.optional-dependencies]
cupy = ["cupy"]
dask = ["dask"]
jax = ["jax"]
numpy = ["numpy"]
pytorch = ["pytorch"]
sparse = ["sparse >=0.15.1"]

[project.urls]
homepage = "https://data-apis.org/array-api-compat/"
repository = "https://github.com/data-apis/array-api-compat/"

[tool.setuptools.dynamic]
version = {attr = "array_api_compat.__version__"}
37 changes: 0 additions & 37 deletions setup.py

This file was deleted.

0 comments on commit 785d180

Please sign in to comment.