-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (67 loc) · 2.57 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (67 loc) · 2.57 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[build-system]
requires = ["setuptools>=79.0", "setuptools-scm", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "autonerves"
dynamic = ["version"]
description = "PyAuto Configration"
readme = { file = "README.md", content-type = "text/markdown" }
license = { text = "MIT" }
requires-python = ">=3.12"
authors = [
{ name = "James Nightingale", email = "James.Nightingale@newcastle.ac.uk" },
{ name = "Richard Hayes", email = "richard@rghsoftware.co.uk" },
]
classifiers = [
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Physics",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14"
]
keywords = ["cli"]
dependencies = [
"typing-inspect>=0.4.0",
"PyYAML>=6.0.1",
"numpy>=1.24.0,<3.0.0",
# JAX is a default dependency (PyAutoLens#702): CPU wheels exist for every
# supported platform except Intel macOS (jaxlib ships no macosx_x86_64
# wheels for >=0.7), so the markers let Intel Macs resolve to the
# NumPy-only path instead of failing at install. jax_wrapper warns loudly
# at import when JAX is absent.
# Cap stays <0.11: jax 0.11.1 breaks autofit's beta/gamma message
# log_partition under jit ('tuple' object has no attribute 'shape') —
# widen only together with that fix (tracked from PyAutoLens#702).
'jax>=0.7.0,<0.11.0; sys_platform != "darwin" or platform_machine == "arm64"',
'jaxlib>=0.7.0,<0.11.0; sys_platform != "darwin" or platform_machine == "arm64"',
'jaxnnls==1.0.1; sys_platform != "darwin" or platform_machine == "arm64"'
]
[project.urls]
Homepage = "https://github.com/PyAutoLabs/PyAutoNerves"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
exclude = ["docs", "test_autonerves", "test_autonerves*"]
[tool.setuptools_scm]
version_scheme = "post-release"
local_scheme = "no-local-version"
[project.optional-dependencies]
# JAX moved into the base dependencies (PyAutoLens#702). The extra is kept as
# a declared no-op so `pip install autonerves[jax]` keeps resolving — removing
# it would revive the pip history-walk trap ("version X does not provide the
# extra 'jax'" is a warning, not an error; PyAutoLens#687) in reverse.
jax = []
optional = [
"autonerves[jax]",
"astropy>=5.0"
]
test = ["pytest"]
dev = ["pytest", "black"]
[tool.pytest.ini_options]
testpaths = ["test_autonerves"]
filterwarnings = [
"ignore:cuda_plugin_extension:UserWarning",
"ignore::DeprecationWarning:jax",
]