-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpyproject.toml
116 lines (107 loc) · 2.68 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
[build-system]
requires = [
"setuptools_scm[toml]>=6.2",
"setuptools>=61.0",
]
build-backend = "setuptools.build_meta"
[project]
name = "hklpy"
description = "Controls for using diffractometers within the Bluesky Framework."
authors = [
{ name="Ken Lauer" },
{ name="Max Rakitin" },
{ name="Pete Jemian", email="[email protected]" },
]
maintainers = [
{ name="Pete Jemian", email="[email protected]" },
]
dynamic = ["version"]
readme = "README.md"
requires-python = ">=3.8"
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 :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: Freely Distributable",
"License :: Public Domain",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Scientific/Engineering",
]
# qt ==5
# pyqt ==5
dependencies = [
"apischema",
"databroker",
"numpy",
"ophyd",
"pint",
"pygobject",
"pyRestTable",
"tqdm",
]
[project.optional-dependencies]
docs = [
"pydata-sphinx-theme",
"spec2nexus",
]
tests = [
"bluesky",
"databroker <=1.999",
"numpy <=1.999",
"orjson",
"packaging",
]
all = ["hklpy[docs,tests]"]
[project.urls]
"Homepage" = "https://blueskyproject.io/hklpy/"
"Bug Tracker" = "https://github.com/bluesky/hklpy/issues"
[tool.black]
line-length = 115 # matches the value of 'max-line-length' in .flake8
target-version = ['py38']
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.flake8]
max-line-length = 88
extend-ignore = ["E501"]
[tool.isort]
profile = "black"
force_single_line = "True"
line_length = 88
multi_line_output = "NOQA"
src_paths = ["hkl"]
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
[tool.setuptools_scm]