-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
125 lines (105 loc) · 2.23 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
[build-system]
requires = ["hatchling", "hatch-vcs", "setuptools_scm"]
build-backend = "hatchling.build"
[project]
name = "bloptools"
description = "Beamline optimization with machine learning"
readme = { file = "README.rst", content-type = "text/x-rst" }
authors = [
{ name = "Brookhaven National Laboratory", email = "tmorris@bnl.gov" }
]
maintainers = [
{ name = "Brookhaven National Laboratory", email = "tmorris@bnl.gov" }
]
requires-python = ">=3.9"
dependencies = [
"area-detector-handlers",
"bluesky",
"botorch",
"databroker",
"gpytorch",
"h5py",
"matplotlib",
"numpy<2",
"ophyd",
"ortools",
"scipy",
"tables",
"torch",
]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Physics",
]
dynamic = ["version"]
[project.optional-dependencies]
sirepo = [
"sirepo-bluesky"
]
napari = [
"napari"
]
gui = [
"nicegui"
]
dev = [
"black",
"pytest-codecov",
"coverage",
"flake8",
"furo",
"isort",
"nbstripout",
"pre-commit",
"pre-commit-hooks",
"pytest",
"sphinx",
"twine",
"ipython",
"jupyter",
"matplotlib",
"nbsphinx",
"numpydoc",
"pandoc",
"sphinx-copybutton",
"sphinx_rtd_theme",
]
[project.urls]
Homepage = "https://github.com/NSLS-II/blop"
Documentation = "https://nsls-ii.github.io/blop"
"Bug Reports" = "https://github.com/NSLS-II/blop/issues"
[tool.hatch.build.targets.wheel]
only-include = ["src/blop"]
[tool.hatch.build.targets.wheel.sources]
"src" = ""
[tool.setuptools_scm]
version_file = "src/blop/_version.py"
[tool.hatch]
version.source = "vcs"
build.hooks.vcs.version-file = "src/blop/_version.py"
[tool.hatch.version.raw-options]
local_scheme = "no-local-version"
[tool.black]
line-length = 125
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
# The following are specific to Black, you probably don't want those.
| blib2to3
| tests/data
)/
'''