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:
parent
1256e92cec
commit
99377fadfc
2 changed files with 23 additions and 1 deletions
|
|
@ -105,14 +105,28 @@ ox = [
|
|||
"python-gnupg>=0.5.6",
|
||||
]
|
||||
|
||||
# Main features for a good experience
|
||||
main = [
|
||||
"libervia-backend[tor]",
|
||||
"libervia-backend[ox]",
|
||||
"libervia-backend[tui]"
|
||||
]
|
||||
|
||||
# All features
|
||||
all = [
|
||||
# Only used by desktop-kivy so far
|
||||
"libervia-backend[SVG]",
|
||||
# Needs Qt
|
||||
"libervia-backend[GUI]",
|
||||
# Only used for (real) images in terminal.
|
||||
"libervia-backend[TUI]",
|
||||
# Following 2 are experimental
|
||||
"libervia-backend[remote-control]",
|
||||
"libervia-backend[conferences]",
|
||||
# Needs the Tor daémon
|
||||
"libervia-backend[tor]",
|
||||
# Used in isolated environment (on system packages, official GPGME Python binding
|
||||
# should be used).
|
||||
"libervia-backend[ox]"
|
||||
]
|
||||
|
||||
|
|
|
|||
10
uv.lock
generated
10
uv.lock
generated
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue