mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2025-05-28 23:50:42 +02:00
111 lines
2.4 KiB
TOML
111 lines
2.4 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "ophyd_devices"
|
|
version = "0.30.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 = [
|
|
"ophyd~=1.9",
|
|
"typeguard",
|
|
"prettytable",
|
|
"bec_lib",
|
|
"numpy",
|
|
"pyyaml",
|
|
"std_daq_client",
|
|
"pyepics",
|
|
"pytest",
|
|
"h5py",
|
|
"hdf5plugin",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["black", "isort", "coverage", "pylint", "pytest", "pytest-random-order"]
|
|
|
|
[project.scripts]
|
|
ophyd_test = "ophyd_devices:launch"
|
|
|
|
[project.urls]
|
|
"Bug Tracker" = "https://gitlab.psi.ch/bec/ophyd_devices/issues"
|
|
Homepage = "https://gitlab.psi.ch/bec/ophyd_devices"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
include = ["*"]
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
skip-magic-trailing-comma = true
|
|
|
|
[tool.semantic_release]
|
|
assets = []
|
|
commit_message = "{version}\n\nAutomatically generated by python-semantic-release"
|
|
commit_parser = "angular"
|
|
logging_use_named_masks = false
|
|
major_on_zero = true
|
|
allow_zero_version = true
|
|
tag_format = "v{version}"
|
|
|
|
[tool.semantic_release.branches.main]
|
|
match = "(main|master)"
|
|
prerelease_token = "rc"
|
|
prerelease = false
|
|
|
|
[tool.semantic_release.changelog]
|
|
template_dir = "templates"
|
|
changelog_file = "CHANGELOG.md"
|
|
exclude_commit_patterns = []
|
|
|
|
[tool.semantic_release.changelog.environment]
|
|
block_start_string = "{%"
|
|
block_end_string = "%}"
|
|
variable_start_string = "{{"
|
|
variable_end_string = "}}"
|
|
comment_start_string = "{#"
|
|
comment_end_string = "#}"
|
|
trim_blocks = false
|
|
lstrip_blocks = false
|
|
newline_sequence = "\n"
|
|
keep_trailing_newline = false
|
|
extensions = []
|
|
autoescape = true
|
|
|
|
[tool.semantic_release.commit_author]
|
|
env = "GIT_COMMIT_AUTHOR"
|
|
default = "semantic-release <semantic-release>"
|
|
|
|
[tool.semantic_release.commit_parser_options]
|
|
allowed_tags = [
|
|
"build",
|
|
"chore",
|
|
"ci",
|
|
"docs",
|
|
"feat",
|
|
"fix",
|
|
"perf",
|
|
"style",
|
|
"refactor",
|
|
"test",
|
|
]
|
|
minor_tags = ["feat"]
|
|
patch_tags = ["fix", "perf"]
|
|
default_bump_level = 0
|
|
|
|
[tool.semantic_release.remote]
|
|
name = "origin"
|
|
type = "gitlab"
|
|
ignore_token_for_push = false
|
|
|
|
[tool.semantic_release.remote.token]
|
|
env = "GL_TOKEN"
|
|
|
|
[tool.semantic_release.publish]
|
|
dist_glob_patterns = ["dist/*"]
|
|
upload_to_vcs_release = true
|