-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
40 lines (35 loc) · 1.18 KB
/
Copy pathpyproject.toml
File metadata and controls
40 lines (35 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[project]
name = "function-avd"
version = "0.1.6"
description = "Living AVD model driven by Crossplane XRs (Fabric -> Device composite function)"
readme = "README.md"
authors = [
{ name = "mbakalarski", email = "64490638+mbakalarski@users.noreply.github.com" }
]
requires-python = ">=3.12"
dependencies = [
"crossplane-function-sdk-python>=0.14.0",
"pyavd==6.3.0",
"pyyaml>=6.0.3",
]
[project.scripts]
avd-verify = "function.verify_example:main"
avd-verify-xr = "function.verify_xr:main"
avd-function = "function.main:main"
avd-topology = "function.netclab_topology:main"
[dependency-groups]
dev = ["pytest>=8.0"]
[tool.pytest.ini_options]
testpaths = ["tests"]
# e2e needs a live cluster, so it is opt-in: `uv run pytest -m e2e`.
addopts = "-m 'not e2e'"
markers = ["e2e: requires a cluster from scripts/kind-up.sh with a fabric applied"]
[build-system]
requires = ["uv_build>=0.11.7,<0.12.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
# crossplane/function-template-python layout: a flat `function/` package at the
# repo root. The backend would otherwise derive `function_avd` from the project
# name and look for it under src/.
module-root = ""
module-name = "function"