-
Notifications
You must be signed in to change notification settings - Fork 29
/
pyproject.toml
65 lines (58 loc) · 1.69 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[project]
name = "ml_dtypes"
version = "0.5.0" # Keep in sync with ml_dtypes/__init__.py:__version__
description = ""
readme = "README.md"
requires-python = ">=3.9"
license = {file = "LICENSE"}
authors = [{name = "ml_dtypes authors", email="[email protected]"}]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Science/Research",
]
keywords = []
# pip dependencies of the project
dependencies = [
# Ensure numpy release supports Python version.
"numpy>=1.21",
"numpy>=1.21.2; python_version>='3.10'",
"numpy>=1.23.3; python_version>='3.11'",
"numpy>=1.26.0; python_version>='3.12'",
"numpy>=2.1.0; python_version>='3.13'",
]
[project.urls]
homepage = "https://github.com/jax-ml/ml_dtypes"
repository = "https://github.com/jax-ml/ml_dtypes"
# Other: `documentation`, `changelog`
[project.optional-dependencies]
# Development deps (unittest, linting, formating,...)
# Installed through `pip install .[dev]`
dev = [
"absl-py",
"pytest",
"pytest-xdist",
"pylint>=2.6.0",
"pyink",
]
[tool.pyink]
# Formatting configuration to follow Google style-guide
line-length = 80
preview = true
pyink-indentation = 2
pyink-use-majority-quotes = true
[build-system]
requires = [
# We build against the most recent supported NumPy 2.0 release;
# see https://github.com/numpy/numpy/issues/27265
"numpy~=2.0",
"setuptools~=75.5.0",
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["ml_dtypes"]
include-package-data = false
[tool.setuptools.package-data]
ml_dtypes = ["py.typed"]
"ml_dtypes.include" = ["*.h"]