-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
78 lines (69 loc) · 1.84 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
[tool.poetry]
name = "radas"
# Version is year.month.version
version = "2024.8.0"
description = "Plasma radiated power calculated using OpenADAS"
authors = ["Commonwealth Fusion Systems"]
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Physics",
"License :: OSI Approved :: MIT License",
]
[tool.poetry.scripts]
radas = 'radas.cli:run_radas_cli'
run_radas = 'radas.cli:run_radas_cli'
radas_config = 'radas.cli:write_config_template'
[tool.poetry.dependencies]
python = "<3.13,>=3.9"
numpy = ">=1.22"
scipy = ">=1.8"
matplotlib = ">=3.6"
Pint = ">=0.21"
pyyaml = ">=6.0"
xarray = ">=2023"
pint-xarray = ">=0.3"
click = ">=8.1"
meson = "^1.5.0"
ninja = "^1.11.1.1"
fortranformat = "^2.0.0"
[tool.poetry.group.dev.dependencies]
# Install pytest into all development environments
# (don't set optional = true)
pytest = ">=7.2"
pytest-order = ">=1.1"
pytest-cov = ">=4.1"
coverage = ">=7.2"
black = ">=23.0"
ipdb = "^0.13.13"
[tool.poetry.group.ipykernel]
optional = true
[tool.poetry.group.ipykernel.dependencies]
ipdb = ">=0.13"
ipykernel = ">=6.20"
[tool.poetry.group.publish]
optional = true
[tool.poetry.group.publish.dependencies]
twine = ">=4.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]
addopts = "--cov=radas --cov-branch --cov-report term --cov-report xml:coverage.xml --import-mode=importlib"
pythonpath = [
".",
"radas",
]
testpaths = [
"tests",
]