Mercurial > libervia-backend
comparison pyproject.toml @ 4081:84f6bee6440d
installation: moved from `setup.py` to `pyproject.toml`:
- updated installation to use the now standard `pyproject.toml` instead of legacy
`setup.py`. `setup.py` and other legacy files have been deleted.
- removed outdated README4PACKAGERS
- removed pylintrc which has not been correctly reviewed. Linter conf should go to
`pyproject.toml` now.
- [hatch](https://hatch.pypa.io) is now used as main building tool. However, thanks to the
use of standards, other tools can be used too.
- update .hgignore
- several dependencies version bump, with code update to adapt to changes.
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 06 Jun 2023 16:45:16 +0200 |
parents | |
children | 72e91ea3bc16 |
comparison
equal
deleted
inserted
replaced
4080:0ea6b34f8f18 | 4081:84f6bee6440d |
---|---|
1 [build-system] | |
2 requires = ["hatchling"] | |
3 build-backend = "hatchling.build" | |
4 | |
5 [project] | |
6 name = "libervia-backend" | |
7 dynamic = ["version"] | |
8 description = "Libervia: A feature-rich XMPP client showcasing diverse frontends, uniting instant messaging, blogging, file sharing, and ActivityPub-XMPP interactions seamlessly." | |
9 readme = "README.md" | |
10 license = "AGPL-3.0-or-later" | |
11 requires-python = ">=3.7" | |
12 authors = [ | |
13 { name = "Libervia Dev Team", email = "contact@goffi.org" }, | |
14 ] | |
15 classifiers = [ | |
16 "Development Status :: 5 - Production/Stable", | |
17 "Environment :: Console", | |
18 "Framework :: Twisted", | |
19 "Operating System :: POSIX :: Linux", | |
20 "Topic :: Communications :: Chat", | |
21 "Topic :: Internet :: XMPP" | |
22 ] | |
23 dependencies = [ | |
24 "aiosqlite", | |
25 "alembic", | |
26 "babel < 3", | |
27 "cryptography >= 41.0.1", | |
28 "dbus-python < 1.3", | |
29 "html2text < 2020.2", | |
30 "jinja2 >= 3.1.2", | |
31 "langid < 2", | |
32 "lxml >= 3.1.0", | |
33 "markdown >= 3.0", | |
34 "miniupnpc < 2.1", | |
35 "mutagen < 2", | |
36 "netifaces < 0.12", | |
37 "oldmemo >= 1.0.0, < 2", | |
38 "omemo >= 1.0.0, < 2", | |
39 "pillow >= 6.0.0", | |
40 "progressbar2 < 3.54", | |
41 "pygments < 3", | |
42 "pygobject < 3.40.1", | |
43 "pyopenssl >= 23.2.0", | |
44 "python-dateutil >= 2.8.1, < 3", | |
45 # currently disabled due to incompatibility, OTR feature may be removed in | |
46 # the close future | |
47 # "python-potr < 1.1", | |
48 "pyxdg < 0.30", | |
49 "pyyaml < 7.0.0", | |
50 "sat_tmp @ hg+https://repos.goffi.org/sat_tmp#egg=sat_tmp", | |
51 "setuptools_scm", | |
52 "shortuuid ~= 1.0.11", | |
53 "sqlalchemy >= 1.4", | |
54 "treq < 23.0.0", | |
55 "twisted[tls] >= 22.10", | |
56 "twomemo >= 1.0.0, < 2", | |
57 "txdbus", | |
58 "urwid >= 1.2.0, < 3", | |
59 "urwid-satext @ hg+https://repos.goffi.org/urwid-satext#egg=urwid-satext", | |
60 "wokkel >= 18.0.0, < 19.0.0", | |
61 "xmlschema", | |
62 ] | |
63 keywords = [ | |
64 "XMPP", | |
65 "chat", | |
66 "instant_messaging", | |
67 "blogging", | |
68 "photo albums", | |
69 "ActivityPub", | |
70 "file sharing", | |
71 "events" | |
72 ] | |
73 | |
74 [project.optional-dependencies] | |
75 SVG = [ | |
76 "CairoSVG", | |
77 ] | |
78 | |
79 [project.scripts] | |
80 jp = "libervia.cli.base:LiberviaCli.run" | |
81 li = "libervia.cli.base:LiberviaCli.run" | |
82 libervia-backend = "libervia.backend.core.launcher:Launcher.run" | |
83 libervia-cli = "libervia.cli.base:LiberviaCli.run" | |
84 libervia-tui = "libervia.tui.base:LiberviaTUIApp.run" | |
85 primitivus = "libervia.tui.base:LiberviaTUIApp.run" | |
86 sat = "libervia.backend.core.launcher:Launcher.run" | |
87 | |
88 [project.urls] | |
89 Homepage = "https://libervia.org" | |
90 Documentation = "https://libervia.org/documentation" | |
91 Repository = "https://repos.goffi.org/libervia-backend/" | |
92 Roadmap = "https://libervia.org/roadmap" | |
93 | |
94 [tool.hatch.envs.default] | |
95 # we need system-package for GPG | |
96 system-packages = true | |
97 | |
98 [tool.hatch.version] | |
99 path = "libervia/backend/__init__.py" | |
100 | |
101 [tool.hatch.build.targets.wheel.shared-data] | |
102 "i18n/fr/LC_MESSAGES/libervia_backend.mo" = "share/locale/fr/LC_MESSAGES/libervia_backend.mo" | |
103 CHANGELOG = "share/doc/libervia-backend/CHANGELOG" | |
104 COPYING = "share/doc/libervia-backend/COPYING" | |
105 INSTALL = "share/doc/libervia-backend/INSTALL" | |
106 README = "share/doc/libervia-backend/README" | |
107 README4TRANSLATORS = "share/doc/libervia-backend/README4TRANSLATORS" | |
108 "misc/org.libervia.Libervia.service" = "share/dbus-1/services/org.libervia.Libervia.service" | |
109 | |
110 [tool.hatch.metadata] | |
111 allow-direct-references = true |