Mercurial > libervia-web
annotate pyproject.toml @ 1522:a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
- following backend change, installation is now using `pyproject.toml`, and legacy
`setup.py` as well as other legacy files have been deleted/updated.
- [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.
- `VERSION` file has been deleted, in favor or using directly `__version__`, in
`libervia/web/__init__.py`. Version can be updated directly from Hatch
- update .hgignore
- several dependencies version bump, with code update to adapt to changes.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 07 Jun 2023 15:28:10 +0200 |
parents | |
children | 311febeae2d5 |
rev | line source |
---|---|
1522
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
1 [build-system] |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
2 requires = ["hatchling"] |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
3 build-backend = "hatchling.build" |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
4 |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
5 [project] |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
6 name = "libervia-web" |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
7 dynamic = ["version"] |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
8 description = "Web frontend for Libervia, a feature-rich XMPP client" |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
9 readme = "README.md" |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
10 license = "AGPL-3.0-or-later" |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
11 requires-python = ">=3.7" |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
12 authors = [ |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
13 { name = "Libervia Dev Team", email = "contact@goffi.org" }, |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
14 ] |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
15 classifiers = [ |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
16 "Development Status :: 5 - Production/Stable", |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
17 "Environment :: Web Environment", |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
18 "Framework :: Twisted", |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
19 "Operating System :: POSIX :: Linux", |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
20 "Topic :: Communications :: Chat", |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
21 ] |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
22 dependencies = [ |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
23 "autobahn >= 23.6.1", |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
24 "brython >= 3.10", |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
25 "jinja2 >= 3.1.2", |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
26 # use during dev mode to have current version of backend |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
27 "libervia-backend @ {root:uri}/../libervia-backend", |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
28 "libervia-templates @ {root:uri}/../libervia-backend", |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
29 "pyopenssl >= 23.2.0", |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
30 "shortuuid ~= 1.0.11", |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
31 "twisted[tls] >= 22.10", |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
32 "zope.interface >= 5", |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
33 ] |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
34 keywords = [ |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
35 "XMPP", |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
36 "web", |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
37 "brython", |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
38 "chat", |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
39 "instant_messaging", |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
40 "blogging", |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
41 "photo albums", |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
42 "file sharing", |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
43 "events" |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
44 ] |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
45 |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
46 [project.scripts] |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
47 libervia-web = "libervia.web.server.launcher:Launcher.run" |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
48 |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
49 [project.urls] |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
50 Homepage = "https://www.libervia.org" |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
51 |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
52 [tool.hatch.build.targets.wheel] |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
53 packages = ["libervia"] |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
54 |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
55 [tool.hatch.envs.default] |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
56 # we need system-package for GPG |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
57 system-packages = true |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
58 |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
59 [tool.hatch.metadata] |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
60 allow-direct-references = true |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
61 |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
62 [tool.hatch.version] |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
63 path = "libervia/web/__init__.py" |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
64 |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
65 [tool.hatch.build.targets.wheel.shared-data] |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
66 COPYING = "share/doc/libervia-web/COPYING" |
a44f77559279
installation: moved from `setup.py` to `pyproject.toml`:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
67 "README.md" = "share/doc/libervia-web/README.md" |