annotate pyproject.toml @ 4135:646b328b3980

doc (cli): `notification` commands documentation.
author Goffi <goffi@goffi.org>
date Wed, 18 Oct 2023 15:33:46 +0200
parents e70eff252048
children 10979b5c305a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4081
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
1 [build-system]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
2 requires = ["hatchling"]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
3 build-backend = "hatchling.build"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
4
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
5 [project]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
6 name = "libervia-backend"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
7 dynamic = ["version"]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
8 description = "Libervia: A feature-rich XMPP client showcasing diverse frontends, uniting instant messaging, blogging, file sharing, and ActivityPub-XMPP interactions seamlessly."
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
9 readme = "README.md"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
10 license = "AGPL-3.0-or-later"
4106
4ad982a0358f install: bump minimum python version
Goffi <goffi@goffi.org>
parents: 4091
diff changeset
11 requires-python = ">=3.10"
4081
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
12 authors = [
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
13 { name = "Libervia Dev Team", email = "contact@goffi.org" },
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
14 ]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
15 classifiers = [
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
16 "Development Status :: 5 - Production/Stable",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
17 "Environment :: Console",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
18 "Framework :: Twisted",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
19 "Operating System :: POSIX :: Linux",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
20 "Topic :: Communications :: Chat",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
21 "Topic :: Internet :: XMPP"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
22 ]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
23 dependencies = [
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
24 "aiosqlite",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
25 "alembic",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
26 "babel < 3",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
27 "cryptography >= 41.0.1",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
28 "dbus-python < 1.3",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
29 "html2text < 2020.2",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
30 "jinja2 >= 3.1.2",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
31 "langid < 2",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
32 "lxml >= 3.1.0",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
33 "markdown >= 3.0",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
34 "miniupnpc < 2.1",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
35 "mutagen < 2",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
36 "netifaces < 0.12",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
37 "oldmemo >= 1.0.0, < 2",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
38 "omemo >= 1.0.0, < 2",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
39 "pillow >= 6.0.0",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
40 "progressbar2 < 3.54",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
41 "pygments < 3",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
42 "pygobject < 3.40.1",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
43 "pyopenssl >= 23.2.0",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
44 "python-dateutil >= 2.8.1, < 3",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
45 # currently disabled due to incompatibility, OTR feature may be removed in
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
46 # the close future
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
47 # "python-potr < 1.1",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
48 "pyxdg < 0.30",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
49 "pyyaml < 7.0.0",
4128
e70eff252048 install: add `rich` dependency
Goffi <goffi@goffi.org>
parents: 4106
diff changeset
50 "rich ~= 13.5",
4081
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
51 "sat_tmp @ hg+https://repos.goffi.org/sat_tmp#egg=sat_tmp",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
52 "setuptools_scm",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
53 "shortuuid ~= 1.0.11",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
54 "sqlalchemy >= 1.4",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
55 "treq < 23.0.0",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
56 "twisted[tls] >= 22.10",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
57 "twomemo >= 1.0.0, < 2",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
58 "txdbus",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
59 "urwid >= 1.2.0, < 3",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
60 "urwid-satext @ hg+https://repos.goffi.org/urwid-satext#egg=urwid-satext",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
61 "wokkel >= 18.0.0, < 19.0.0",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
62 "xmlschema",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
63 ]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
64 keywords = [
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
65 "XMPP",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
66 "chat",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
67 "instant_messaging",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
68 "blogging",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
69 "photo albums",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
70 "ActivityPub",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
71 "file sharing",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
72 "events"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
73 ]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
74
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
75 [project.optional-dependencies]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
76 SVG = [
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
77 "CairoSVG",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
78 ]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
79
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
80 [project.scripts]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
81 jp = "libervia.cli.base:LiberviaCli.run"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
82 li = "libervia.cli.base:LiberviaCli.run"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
83 libervia-backend = "libervia.backend.core.launcher:Launcher.run"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
84 libervia-cli = "libervia.cli.base:LiberviaCli.run"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
85 libervia-tui = "libervia.tui.base:LiberviaTUIApp.run"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
86 primitivus = "libervia.tui.base:LiberviaTUIApp.run"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
87 sat = "libervia.backend.core.launcher:Launcher.run"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
88
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
89 [project.urls]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
90 Homepage = "https://libervia.org"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
91 Documentation = "https://libervia.org/documentation"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
92 Repository = "https://repos.goffi.org/libervia-backend/"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
93 Roadmap = "https://libervia.org/roadmap"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
94
4091
4eb7a5ecbd9d build: explicitely set `packages` so `doc` is not accidentaly included
Goffi <goffi@goffi.org>
parents: 4086
diff changeset
95 [tool.hatch.build.targets.wheel]
4eb7a5ecbd9d build: explicitely set `packages` so `doc` is not accidentaly included
Goffi <goffi@goffi.org>
parents: 4086
diff changeset
96 packages = ["libervia", "twisted"]
4eb7a5ecbd9d build: explicitely set `packages` so `doc` is not accidentaly included
Goffi <goffi@goffi.org>
parents: 4086
diff changeset
97
4081
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
98 [tool.hatch.envs.default]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
99 # we need system-package for GPG
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
100 system-packages = true
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
101
4082
72e91ea3bc16 build: create a dev env with debugging tools
Goffi <goffi@goffi.org>
parents: 4081
diff changeset
102 [tool.hatch.envs.dev]
72e91ea3bc16 build: create a dev env with debugging tools
Goffi <goffi@goffi.org>
parents: 4081
diff changeset
103 dependencies = [
72e91ea3bc16 build: create a dev env with debugging tools
Goffi <goffi@goffi.org>
parents: 4081
diff changeset
104 "ipdb",
72e91ea3bc16 build: create a dev env with debugging tools
Goffi <goffi@goffi.org>
parents: 4081
diff changeset
105 "pudb"
72e91ea3bc16 build: create a dev env with debugging tools
Goffi <goffi@goffi.org>
parents: 4081
diff changeset
106 ]
72e91ea3bc16 build: create a dev env with debugging tools
Goffi <goffi@goffi.org>
parents: 4081
diff changeset
107
72e91ea3bc16 build: create a dev env with debugging tools
Goffi <goffi@goffi.org>
parents: 4081
diff changeset
108
4081
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
109 [tool.hatch.version]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
110 path = "libervia/backend/__init__.py"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
111
4086
479192bc0fa8 build: add missing `.ini` and `.yaml` files in all build, needed for wheel
Goffi <goffi@goffi.org>
parents: 4082
diff changeset
112 [tool.hatch.build]
479192bc0fa8 build: add missing `.ini` and `.yaml` files in all build, needed for wheel
Goffi <goffi@goffi.org>
parents: 4082
diff changeset
113 artifacts = [
479192bc0fa8 build: add missing `.ini` and `.yaml` files in all build, needed for wheel
Goffi <goffi@goffi.org>
parents: 4082
diff changeset
114 "*.ini",
479192bc0fa8 build: add missing `.ini` and `.yaml` files in all build, needed for wheel
Goffi <goffi@goffi.org>
parents: 4082
diff changeset
115 "*.yaml"
479192bc0fa8 build: add missing `.ini` and `.yaml` files in all build, needed for wheel
Goffi <goffi@goffi.org>
parents: 4082
diff changeset
116 ]
479192bc0fa8 build: add missing `.ini` and `.yaml` files in all build, needed for wheel
Goffi <goffi@goffi.org>
parents: 4082
diff changeset
117
4081
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
118 [tool.hatch.build.targets.wheel.shared-data]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
119 "i18n/fr/LC_MESSAGES/libervia_backend.mo" = "share/locale/fr/LC_MESSAGES/libervia_backend.mo"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
120 CHANGELOG = "share/doc/libervia-backend/CHANGELOG"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
121 COPYING = "share/doc/libervia-backend/COPYING"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
122 INSTALL = "share/doc/libervia-backend/INSTALL"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
123 README = "share/doc/libervia-backend/README"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
124 README4TRANSLATORS = "share/doc/libervia-backend/README4TRANSLATORS"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
125 "misc/org.libervia.Libervia.service" = "share/dbus-1/services/org.libervia.Libervia.service"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
126
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
127 [tool.hatch.metadata]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
128 allow-direct-references = true