build: moved to pyproject.toml

This commit is contained in:
2024-04-10 15:29:34 +02:00
parent 9c092740b9
commit 6ba2428dd8
4 changed files with 41 additions and 49 deletions

40
pyproject.toml Normal file
View File

@ -0,0 +1,40 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "ophyd_devices"
version = "0.29.2"
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",
"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 = ["*"]