71 lines
1.7 KiB
TOML
71 lines
1.7 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "debye_bec"
|
|
version = "0.0.0"
|
|
description = "Custom device implementations based on the ophyd hardware abstraction layer"
|
|
requires-python = ">=3.10"
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Programming Language :: Python :: 3",
|
|
"Topic :: Scientific/Engineering",
|
|
]
|
|
dependencies = ["numpy", "scipy", "bec_lib", "h5py", "ophyd_devices"]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"bec_server",
|
|
"black ~= 24.0",
|
|
"isort",
|
|
"coverage",
|
|
"pylint",
|
|
"pytest",
|
|
"pytest-random-order",
|
|
]
|
|
|
|
[project.entry-points."bec"]
|
|
plugin_bec = "debye_bec"
|
|
|
|
[project.entry-points."bec.deployment.device_server"]
|
|
plugin_ds_startup = "debye_bec.deployments.device_server.startup:run"
|
|
|
|
[project.entry-points."bec.file_writer"]
|
|
plugin_file_writer = "debye_bec.file_writer"
|
|
|
|
[project.entry-points."bec.scans"]
|
|
plugin_scans = "debye_bec.scans"
|
|
|
|
[project.entry-points."bec.ipython_client_startup"]
|
|
plugin_ipython_client_pre = "debye_bec.bec_ipython_client.startup.pre_startup"
|
|
plugin_ipython_client_post = "debye_bec.bec_ipython_client.startup"
|
|
|
|
[project.entry-points."bec.widgets"]
|
|
plugin_widgets = "debye_bec.bec_widgets"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
include = ["*"]
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
line_length = 100
|
|
multi_line_output = 3
|
|
include_trailing_comma = true
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
skip-magic-trailing-comma = true
|
|
|
|
[tool.pylint.basic]
|
|
# Good variable names regexes, separated by a comma. If names match any regex,
|
|
# they will always be accepted
|
|
good-names-rgxs = [
|
|
".*scanID.*",
|
|
".*RID.*",
|
|
".*pointID.*",
|
|
".*ID.*",
|
|
".*_2D.*",
|
|
".*_1D.*",
|
|
]
|