-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
48 lines (44 loc) · 1.18 KB
/
pyproject.toml
File metadata and controls
48 lines (44 loc) · 1.18 KB
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
[build-system]
requires = ["setuptools", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[project]
name = "wcosmo"
authors = [
{name = "Colm Talbot", email = "talbotcolm@gmail.com"},
{name = "Amanda Farah"},
]
description = "A package for cosmology calculations with arbitrary numpy-like APIs"
readme = "README.rst"
requires-python = ">=3.10"
license = {text = "MIT"}
classifiers = [
"Framework :: Django",
"Programming Language :: Python :: 3",
]
dependencies = [
"numpy",
"scipy",
"astropy>=6.1",
"plum-dispatch",
"array-api-compat",
]
dynamic = ["version"]
[project.optional-dependencies]
test = [
"coverage",
"pre-commit",
"pytest-cov",
'lalsuite; python_version<="3.13"',
'jax>=0.4.34,<0.7; python_version>="3.11"', # quax is not currently compatible with jax 0.7 (https://github.com/patrick-kidger/quax/issues/71)
'jax>=0.4.34,<0.6; python_version<"3.11"', # quaxed has dropped 3.10
"unxt",
]
jax = [
'jax>=0.4.34; python_version>="3.11"',
'jax>=0.4.34,<0.6; python_version<"3.11"', # quaxed has dropped 3.10
"unxt",
]
[tool.setuptools]
packages = ["wcosmo"]
[tool.setuptools_scm]
write_to = "wcosmo/_version.py"