install (pyproject): add a main extra to install essential packages:

`all` install everything, `main` only the essential ones.
Also add some comments to explain what the groups are for.
This commit is contained in:
Goffi 2026-03-10 20:45:10 +01:00
commit 99377fadfc
2 changed files with 23 additions and 1 deletions

10
uv.lock generated
View file

@ -777,6 +777,11 @@ conferences = [
gui = [
{ name = "pyqt6" },
]
main = [
{ name = "python-gnupg" },
{ name = "term-image" },
{ name = "txtorcon" },
]
ox = [
{ name = "python-gnupg" },
]
@ -856,6 +861,7 @@ requires-dist = [
{ name = "pyqt6", marker = "extra == 'gui'" },
{ name = "python-dateutil", specifier = ">=2.8.1,<3" },
{ name = "python-gnupg", marker = "extra == 'all'", specifier = ">=0.5.6" },
{ name = "python-gnupg", marker = "extra == 'main'", specifier = ">=0.5.6" },
{ name = "python-gnupg", marker = "extra == 'ox'", specifier = ">=0.5.6" },
{ name = "python-xlib", specifier = "~=0.33" },
{ name = "pyyaml", specifier = "<7.0.0" },
@ -865,19 +871,21 @@ requires-dist = [
{ name = "shortuuid", specifier = "~=1.0.11" },
{ name = "sqlalchemy", specifier = ">=1.4" },
{ name = "term-image", marker = "extra == 'all'", specifier = "~=0.7.1" },
{ name = "term-image", marker = "extra == 'main'", specifier = "~=0.7.1" },
{ name = "term-image", marker = "extra == 'tui'", specifier = "~=0.7.1" },
{ name = "treq", specifier = "~=24.9.0" },
{ name = "twisted", extras = ["tls"], specifier = ">=22.10,<24.11.0" },
{ name = "twomemo", specifier = ">=1.0.0,<2" },
{ name = "txdbus" },
{ name = "txtorcon", marker = "extra == 'all'", specifier = "~=24.8.0" },
{ name = "txtorcon", marker = "extra == 'main'", specifier = "~=24.8.0" },
{ name = "txtorcon", marker = "extra == 'tor'", specifier = "~=24.8.0" },
{ name = "urwid", specifier = ">=1.2.0,<3" },
{ name = "urwid-satext", url = "https://repos.goffi.org/urwid-satext/archive/tip.tar.bz2" },
{ name = "wokkel", specifier = ">=18.0.0,<19.0.0" },
{ name = "xmlschema", specifier = "<4.3.1" },
]
provides-extras = ["all", "conferences", "gui", "ox", "remote-control", "svg", "tor", "tui"]
provides-extras = ["all", "conferences", "gui", "main", "ox", "remote-control", "svg", "tor", "tui"]
[package.metadata.requires-dev]
debugging = [