Skip to content

Commit 619e8ce

Browse files
committed
chore: add support for the uv package manager
This is mostly for convenience purposes and generating simple dependency graphs. Note that you most likely still need to be on a Debian-based Linux distribution for this to work. Debian trixie is used at the time of writing. If you stumbled across this commit for some reason and also wish to use `uv`, you can do the following after installing `uv`[0]: ```bash uv python install cpython-3.13.5-linux-x86_64-gnu uv venv --python 3.15.5 source .venv/bin/activate ``` After that, a call to `uv tree` should be enough in order to generate a dependency tree. [0]: https://docs.astral.sh/uv/getting-started/installation/ Signed-off-by: Max R. Carrara <max@aequito.sh>
1 parent d232297 commit 619e8ce

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ download = [
6161
# only distributed in Debian (not pip).
6262
# only needed to speedup apt parsing
6363
apt = [
64-
"python3-apt>=2.6.0",
64+
"python-apt>=2.6.0",
6565
]
6666

6767
# dependencies to build documentation
@@ -94,3 +94,7 @@ filterwarnings = [
9494
source = [
9595
"debsbom"
9696
]
97+
98+
[tool.uv.sources]
99+
python-debian = { git = "https://salsa.debian.org/python-debian-team/python-debian" }
100+
python-apt = { git = "https://salsa.debian.org/apt-team/python-apt" }

0 commit comments

Comments
 (0)