annotate pyproject.toml @ 4112:bc60875cb3b8

plugin XEP-0166, XEP-0167, XEP-0234, XEP-0353: call events management to prepare for UI: - XEP-0166: add `jingle_preflight` and `jingle_preflight_cancel` methods to prepare a jingle session, principally used by XEP-0353 to create and cancel a session - XEP-0167: preflight methods implementation, workflow split in more methods/signals to handle UI and call events (e.g.: retract or reject a call) - XEP-0234: implementation of preflight methods as they are now mandatory - XEP-0353: handle various events using the new preflight methods rel 423
author Goffi <goffi@goffi.org>
date Wed, 09 Aug 2023 00:07:37 +0200
parents 4ad982a0358f
children e70eff252048
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",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
50 "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
51 "setuptools_scm",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
52 "shortuuid ~= 1.0.11",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
53 "sqlalchemy >= 1.4",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
54 "treq < 23.0.0",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
55 "twisted[tls] >= 22.10",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
56 "twomemo >= 1.0.0, < 2",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
57 "txdbus",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
58 "urwid >= 1.2.0, < 3",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
59 "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
60 "wokkel >= 18.0.0, < 19.0.0",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
61 "xmlschema",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
62 ]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
63 keywords = [
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
64 "XMPP",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
65 "chat",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
66 "instant_messaging",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
67 "blogging",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
68 "photo albums",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
69 "ActivityPub",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
70 "file sharing",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
71 "events"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
72 ]
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 [project.optional-dependencies]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
75 SVG = [
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
76 "CairoSVG",
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
77 ]
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 [project.scripts]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
80 jp = "libervia.cli.base:LiberviaCli.run"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
81 li = "libervia.cli.base:LiberviaCli.run"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
82 libervia-backend = "libervia.backend.core.launcher:Launcher.run"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
83 libervia-cli = "libervia.cli.base:LiberviaCli.run"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
84 libervia-tui = "libervia.tui.base:LiberviaTUIApp.run"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
85 primitivus = "libervia.tui.base:LiberviaTUIApp.run"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
86 sat = "libervia.backend.core.launcher:Launcher.run"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
87
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
88 [project.urls]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
89 Homepage = "https://libervia.org"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
90 Documentation = "https://libervia.org/documentation"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
91 Repository = "https://repos.goffi.org/libervia-backend/"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
92 Roadmap = "https://libervia.org/roadmap"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
93
4091
4eb7a5ecbd9d build: explicitely set `packages` so `doc` is not accidentaly included
Goffi <goffi@goffi.org>
parents: 4086
diff changeset
94 [tool.hatch.build.targets.wheel]
4eb7a5ecbd9d build: explicitely set `packages` so `doc` is not accidentaly included
Goffi <goffi@goffi.org>
parents: 4086
diff changeset
95 packages = ["libervia", "twisted"]
4eb7a5ecbd9d build: explicitely set `packages` so `doc` is not accidentaly included
Goffi <goffi@goffi.org>
parents: 4086
diff changeset
96
4081
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
97 [tool.hatch.envs.default]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
98 # we need system-package for GPG
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
99 system-packages = true
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
100
4082
72e91ea3bc16 build: create a dev env with debugging tools
Goffi <goffi@goffi.org>
parents: 4081
diff changeset
101 [tool.hatch.envs.dev]
72e91ea3bc16 build: create a dev env with debugging tools
Goffi <goffi@goffi.org>
parents: 4081
diff changeset
102 dependencies = [
72e91ea3bc16 build: create a dev env with debugging tools
Goffi <goffi@goffi.org>
parents: 4081
diff changeset
103 "ipdb",
72e91ea3bc16 build: create a dev env with debugging tools
Goffi <goffi@goffi.org>
parents: 4081
diff changeset
104 "pudb"
72e91ea3bc16 build: create a dev env with debugging tools
Goffi <goffi@goffi.org>
parents: 4081
diff changeset
105 ]
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
4081
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
108 [tool.hatch.version]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
109 path = "libervia/backend/__init__.py"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
110
4086
479192bc0fa8 build: add missing `.ini` and `.yaml` files in all build, needed for wheel
Goffi <goffi@goffi.org>
parents: 4082
diff changeset
111 [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
112 artifacts = [
479192bc0fa8 build: add missing `.ini` and `.yaml` files in all build, needed for wheel
Goffi <goffi@goffi.org>
parents: 4082
diff changeset
113 "*.ini",
479192bc0fa8 build: add missing `.ini` and `.yaml` files in all build, needed for wheel
Goffi <goffi@goffi.org>
parents: 4082
diff changeset
114 "*.yaml"
479192bc0fa8 build: add missing `.ini` and `.yaml` files in all build, needed for wheel
Goffi <goffi@goffi.org>
parents: 4082
diff changeset
115 ]
479192bc0fa8 build: add missing `.ini` and `.yaml` files in all build, needed for wheel
Goffi <goffi@goffi.org>
parents: 4082
diff changeset
116
4081
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
117 [tool.hatch.build.targets.wheel.shared-data]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
118 "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
119 CHANGELOG = "share/doc/libervia-backend/CHANGELOG"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
120 COPYING = "share/doc/libervia-backend/COPYING"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
121 INSTALL = "share/doc/libervia-backend/INSTALL"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
122 README = "share/doc/libervia-backend/README"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
123 README4TRANSLATORS = "share/doc/libervia-backend/README4TRANSLATORS"
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
124 "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
125
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
126 [tool.hatch.metadata]
84f6bee6440d installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff changeset
127 allow-direct-references = true