-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
140 lines (128 loc) · 3.05 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
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
[build-system]
requires = ["setuptools_scm[toml]>=8", "setuptools>=70.1"]
build-backend = "setuptools.build_meta"
[project]
name = "hklpy2"
description = "2nd generation diffractometer controls for the Bluesky Framework."
authors = [
{ name = "Bluesky Team" },
{ name = "Pete Jemian", email = "[email protected]" },
]
maintainers = [{ name = "Pete Jemian", email = "[email protected]" }]
dynamic = ["version"]
readme = "README.md"
requires-python = ">=3.10"
keywords = ["bluesky", "diffraction", "diffractometer"]
# https://packaging.python.org/en/latest/specifications/declaring-project-metadata/?highlight=license
license = { file = "LICENSE" }
# https://pypi.org/classifiers/
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Environment :: Console",
"Environment :: OpenStack",
"Intended Audience :: Science/Research",
"License :: Freely Distributable",
"License :: Public Domain",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
]
dependencies = [
"bluesky",
"bluesky_tiled_plugins",
"databroker",
"numpy",
"ophyd",
"pandas",
"pint",
"pyRestTable",
"tiled",
"tqdm",
"typeguard",
"ruamel.yaml",
]
[project.entry-points."hklpy2.solver"]
no_op = "hklpy2.backends.no_op:NoOpSolver"
hkl_soleil = "hklpy2.backends.hkl_soleil:HklSolver" # TODO: #3 mark as linux-only
th_tth = "hklpy2.backends.th_tth_q:ThTthSolver"
[project.optional-dependencies]
dev = [
"build",
"coverage",
"coveralls",
"isort",
"mypy",
"pre-commit",
"pytest",
"ruff",
# databroker 2.0.0b57 needs
"bson",
"doct",
"humanize",
"mongomock",
"pymongo",
# tiled 0.1.0b19 needs
"suitcase-mongo",
]
doc = [
"apstools",
"ipython",
"markupsafe",
"matplotlib",
"myst-nb",
"myst-parser",
"nbsphinx",
"ophyd",
"pydata-sphinx-theme",
"setuptools >=70.1",
"setuptools-scm >=8",
"spec2nexus",
"sphinx >=7",
"sphinx-autoapi",
"sphinx-design",
"sphinx-tabs",
]
all = ["hklpy2[dev,doc]"]
[project.urls]
homepage = "https://prjemian.github.io/hklpy2"
issues = "https://github.com/prjemian/hklpy2/issues"
source = "https://github.com/prjemian/hklpy2"
[tool.black]
line-length = 115 # matches the value of 'max-line-length' in .flake8
target-version = ['py312']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.mypy_cache
| \.tox
| \.venv
| _build
| examples/archive
| build
| dist
)/
| hkl/_version.py
)
'''
[tool.copyright]
copyright = "2023-2025, Argonne National Laboratory"
[tool.flake8]
max-line-length = 115
extend-ignore = ["E501"]
[tool.isort]
profile = "black"
force_single_line = "True"
line_length = 115
multi_line_output = "NOQA"
src_paths = ["."]
[tool.pytest.ini_options]
addopts = ["--import-mode=importlib"]
# filterwarnings = [
# # Warnings inherited from upstream packages.
# "ignore:.*'wheel' package is no longer the canonical*:DeprecationWarning",
# ]
[tool.setuptools_scm]