-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (86 loc) · 2.03 KB
/
Copy pathpyproject.toml
File metadata and controls
97 lines (86 loc) · 2.03 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
[build-system]
requires = [
"setuptools>=77",
"setuptools_scm[toml]>=8.0",
]
build-backend = "setuptools.build_meta"
[project]
name = "mcstastox"
description = "Tool to read McStas NeXus data and export contained information"
authors = [{name = "Mads Bertelsen"}, {name = "mccode contributors"}]
license = { file = "LICENSE" }
readme = "README.md"
classifiers = [
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
"Typing :: Typed",
]
requires-python = ">=3.10"
# IMPORTANT:
# Run 'pixi reinstall' after making changes here. This will update requirement files.
# Make sure to list one dependency per line.
dependencies = [
"h5py",
"numpy",
]
dynamic = ["version"]
[project.optional-dependencies]
scipp = [
"scipp>=25.0.0",
]
test = [
"mcstasscript",
"pytest>=7.0",
]
docs = [
"mcstasscript",
"autodoc-pydantic",
"ipykernel",
"ipython!=8.7.0",
"ipywidgets>=8.1",
"myst-parser",
"nbsphinx",
"numba>=0.63",
"pydata-sphinx-theme>=0.14",
"sphinx>=7",
"plopp[all]",
"scippneutron",
"sphinx-autodoc-typehints",
"sphinx-copybutton",
"sphinx-design",
]
[project.urls]
"Bug Tracker" = "https://github.com/mccode-dev/mcstastox/issues"
"Documentation" = "https://mccode-dev.github.io/mcstastox"
"Source" = "https://github.com/mccode-dev/mcstastox"
[tool.setuptools_scm]
[tool.pytest.ini_options]
minversion = "7.0"
addopts = """
--strict-config
--strict-markers
--import-mode=importlib
-ra
-v
"""
testpaths = "tests"
filterwarnings = [
"error",
]
[tool.mypy]
strict = true
ignore_missing_imports = true
enable_error_code = [
"ignore-without-code",
"redundant-expr",
"truthy-bool",
]
warn_unreachable = true