-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathpyproject.toml
More file actions
115 lines (96 loc) · 2.4 KB
/
Copy pathpyproject.toml
File metadata and controls
115 lines (96 loc) · 2.4 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[build-system]
requires = ["hatchling<1.33", "hatch-vcs<0.6"]
build-backend = "hatchling.build"
[project]
name = "mcdc"
dynamic = ["version"]
authors = [
{ name = "MC/DC Development Team" },
]
description = "A performant, scalable, and machine-portable Python-based Monte Carlo radiation transport code."
readme = "README.md"
requires-python = ">=3.11"
license = "BSD-3-Clause"
license-files = ["LICENSE"]
keywords = [
"monte carlo",
"nuclear engineering",
"particle transport",
"radiation transport",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Natural Language :: English",
"Typing :: Typed",
]
dependencies = [
"numba>=0.61.0,<0.67",
"numpy>=2.0.0,<2.5",
"scipy<1.19",
"matplotlib<3.12",
"mpi4py>=3.1.4,<4.2",
"h5py<3.17",
"colorama<0.5",
"sympy<1.15",
]
[project.optional-dependencies]
docs = [
"sphinx>=8,<10",
"pydata-sphinx-theme>=0.20,<0.21",
"sphinx-design>=0.6,<0.8",
]
dev = [
"black<27",
"pre-commit<5",
"pyright<1.2",
"pytest<10",
]
[project.urls]
Homepage = "https://mcdc.readthedocs.io/"
Documentation = "https://mcdc.readthedocs.io/en/stable/"
Repository = "https://github.com/mcdc-project/mcdc"
Issues = "https://github.com/mcdc-project/mcdc/issues"
"Release Notes" = "https://github.com/mcdc-project/mcdc/releases"
[tool.hatch.version]
source = "vcs"
[tool.black]
target-version = ["py311", "py312", "py313", "py314"]
force-exclude = '''
(
mcdc/numba_types\.py
| mcdc/mcdc_get/
| mcdc/mcdc_set/
)
'''
[tool.pyright]
include = ["test/typecheck"]
pythonVersion = "3.14"
typeCheckingMode = "strict"
[tool.pytest.ini_options]
testpaths = ["test/unit"]
# The slow suite is selected by path (`pytest test/regression`); keep the cloned
# regression data out of pytest's collection without replacing pytest's defaults.
norecursedirs = [
"*.egg",
".*",
"_darcs",
"build",
"CVS",
"dist",
"node_modules",
"venv",
"{arch}",
"mcdc-regression_test_data",
]