61 lines
1.1 KiB
TOML
61 lines
1.1 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=75.6.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "aarecommon"
|
|
version = "0.1.4"
|
|
description = "Common components (models, calculations) for Aare packages"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"pyyaml",
|
|
"jfjoch-client",
|
|
"pydantic",
|
|
"numpy",
|
|
"scipy",
|
|
"opencv-python",
|
|
"pillow"
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
test = [
|
|
"pytest",
|
|
"pytest-cov",
|
|
"pytest-random-order"
|
|
]
|
|
|
|
[tool.setuptools]
|
|
include-package-data = true
|
|
|
|
[tool.setuptools.package-data]
|
|
aarecommon = [
|
|
"config/logging_configs/*.yaml",
|
|
"config/beamline_configs/*.yaml",
|
|
]
|
|
|
|
[[tool.uv.index]]
|
|
name = "psi"
|
|
url = "https://gitea.psi.ch/api/packages/mx/pypi/simple"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
norecursedirs = ["scripts", ".venv", "logs", "docs"]
|
|
asyncio_mode = "auto"
|
|
asyncio_default_fixture_loop_scope = "function"
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
skip-magic-trailing-comma = true
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
line_length = 100
|
|
multi_line_output = 3
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
|
|
[tool.ruff.format]
|
|
skip-magic-trailing-comma = true
|