71 lines
1.1 KiB
TOML
71 lines
1.1 KiB
TOML
[project]
|
|
name = "agebd"
|
|
version = "0.1.0"
|
|
description = "SLS HLA Framework"
|
|
requires-python = "==3.10.*"
|
|
|
|
dependencies = [
|
|
"h5py>=3.16.0",
|
|
"pyepics>=3.5.10",
|
|
"typer>=0.23.2",
|
|
]
|
|
|
|
# Dev dependencies
|
|
[dependency-groups]
|
|
dev = [
|
|
"pyright>=1.1.410",
|
|
"pytest>=8.4.2",
|
|
"ruff>=0.15.19",
|
|
"twine>=6.2.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.uv]
|
|
package = true
|
|
|
|
[tool.ruff]
|
|
include = [
|
|
"src/**/*.py",
|
|
"tests/**/*.py",
|
|
]
|
|
line-length = 100
|
|
|
|
[tool.ruff.lint]
|
|
# use isort to sort imports
|
|
extend-select = ["I"]
|
|
|
|
### PIXI ###
|
|
|
|
[tool.pixi.workspace]
|
|
name = "agebd"
|
|
channels = ["conda-forge"]
|
|
platforms = ["linux-64"]
|
|
version = "0.1.0"
|
|
|
|
[tool.pixi.tasks]
|
|
|
|
[tool.pixi.dependencies]
|
|
python = "3.10.*"
|
|
h5py = ">=3.16.0,<4"
|
|
typer = "*"
|
|
pyepics = ">=3.5.10,<4"
|
|
|
|
[tool.pixi.pypi-dependencies]
|
|
agebd = { path = ".", editable = true }
|
|
|
|
[tool.pixi.feature.dev.dependencies]
|
|
pyright = "*"
|
|
ruff = "*"
|
|
twine = "*"
|
|
pytest = ">=9.1.1,<10"
|
|
|
|
[tool.pixi.feature.dev.tasks]
|
|
test = "pytest"
|
|
format = "ruff format"
|
|
|
|
[tool.pixi.environments]
|
|
dev = ["dev"]
|