-
Notifications
You must be signed in to change notification settings - Fork 37
/
pyproject.toml
85 lines (77 loc) · 2.08 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "torax"
description = "Differentiable 1D tokamak plasma transport simulator in JAX."
version = "0.1.0"
readme = "README.md"
requires-python = ">=3.10"
license = {file = "LICENSE"}
authors = [{name = "TORAX authors", email="torax-team@google.com"}]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Science/Research",
]
dependencies = [
"absl-py>=2.0.0",
"typing_extensions>=4.2.0",
"typeguard>=2.13.3,<3",
"immutabledict>=1.0.0",
"jax>=0.4.31",
"jaxlib>=0.4.31",
"jaxopt>=0.8.2",
"flax>=0.7.5",
"matplotlib>=3.3.0",
"numpy>=1.24.1,<2.0.0",
"setuptools;python_version>='3.10'",
"chex>=0.1.88",
"equinox>=0.11.3",
"PyYAML>=6.0.1",
"xarray>=2024.11.0",
"netcdf4>=1.6.5,<1.7.1",
"h5netcdf>=1.3.0",
"scipy>=1.12.0",
"jaxtyping>=0.2.28",
"contourpy>=1.2.1",
"eqdsk>=0.4.0"
]
[project.urls]
homepage = "https://github.com/google-deepmind/torax"
repository = "https://github.com/google-deepmind/torax"
documentation = "https://github.com/google-deepmind/torax/blob/main/README.md"
[project.optional-dependencies]
# Installed through `pip install -e .[dev]`
dev = [
"pytest",
"pytest-xdist",
"pytest-shard",
"pylint>=2.6.0",
"pyink",
"sphinxcontrib-apidoc",
"sphinx-autodoc-typehints",
"sphinx-rtd-theme",
"sphinx_copybutton",
"sphinx_design",
"sphinx_remove_toctrees",
]
[tool.pyink]
# Formatting configuration to follow Google style-guide
line-length = 80
unstable = true
pyink-indentation = 2
pyink-use-majority-quotes = true
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["torax*"]
[tool.pytest.ini_options]
addopts = [
"--ignore=torax/tests/test_data",
"--ignore=torax/tests/scripts",
"--ignore-glob=*lib*",
# Leads to an ImportError in collection for `pytest` without qualikiz_tools.
"--ignore=torax/transport_model/qualikiz_wrapper.py",
]
testpaths = "**/tests"
python_files = "*.py"