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 20, 2025
1 parent 66106cb commit 7f42022
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 37 deletions.
56 changes: 56 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[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.13",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]

[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.hatch.version]
path = "array_api_compat/__init__.py"

[tool.hatch.build.targets.sdist]
include = [
"/array_api_compat",
]
37 changes: 0 additions & 37 deletions setup.py

This file was deleted.

0 comments on commit 7f42022

Please sign in to comment.