annotate pyproject.toml @ 495:59bdf78bd1d9

installation: update to use hatch following change in backend and other frontends: - `setup.py` and `requirements.txt` have been removed in favor of `pyproject.toml` - changed versionning mechanism to use a version directly in `libervia/desktop_kivy/__init__.py` handled by Hatch - remove the log hack from `kivy_hack` as there is now an environment variable to disable the logging hijacking
author Goffi <goffi@goffi.org>
date Mon, 28 Aug 2023 18:29:18 +0200
parents
children f387992d8e37
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
495
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
1 [build-system]
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
2 requires = ["hatchling"]
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
3 build-backend = "hatchling.build"
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
4
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
5 [project]
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
6 name = "libervia-desktop-kivy"
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
7 dynamic = ["version"]
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
8 description = "Desktop/Android frontend (Kivy version) for Libervia XMPP client"
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
9 readme = "README.md"
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
10 license = "AGPL-3.0-or-later"
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
11 requires-python = ">=3.10"
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
12 authors = [
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
13 { name = "Libervia Dev Team", email = "contact@goffi.org" },
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
14 ]
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
15 classifiers = [
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
16 "Development Status :: 5 - Production/Stable",
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
17 "Environment :: X11 Applications",
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
18 "Framework :: Twisted",
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
19 "Intended Audience :: End Users/Desktop",
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
20 "Operating System :: Android",
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
21 "Operating System :: POSIX :: Linux",
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
22 "Topic :: Communications :: Chat",
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
23 "Topic :: Internet :: XMPP",
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
24 ]
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
25 dependencies = [
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
26 "kivy ~= 2.2.0",
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
27 "kivy_garden.modernmenu",
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
28 # "libervia-backend == 0.9.*",
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
29 "pillow <9.3",
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
30 "plyer <2.1",
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
31 ]
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
32 keywords = [
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
33 "XMPP",
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
34 "desktop",
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
35 "kivy",
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
36 "chat",
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
37 "instant_messaging",
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
38 "file_sharing"
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
39 ]
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
40
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
41 [project.scripts]
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
42 libervia-desktop-kivy = "libervia.desktop_kivy:run"
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
43 libervia-mobile = "libervia.desktop_kivy:run"
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
44 cagou = "libervia.desktop_kivy:run"
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
45
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
46 [project.urls]
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
47 Homepage = "https://libervia.org"
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
48
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
49 [tool.hatch.build.targets.wheel]
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
50 packages = ["libervia", "twisted"]
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
51
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
52 [tool.hatch.envs.default]
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
53 # we need system-package for GPG
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
54 system-packages = true
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
55
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
56 [tool.hatch.envs.dev]
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
57 dependencies = [
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
58 "ipdb",
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
59 "pudb",
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
60 "pytest",
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
61 "pytest-asyncio"
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
62 ]
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
63
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
64 [tool.hatch.metadata]
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
65 allow-direct-references = true
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
66
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
67 [tool.hatch.version]
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
68 path = "libervia/desktop_kivy/__init__.py"
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
69
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
70 [tool.hatch.build.targets.wheel.shared-data]
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
71 COPYING = "share/doc/libervia-desktop-kivy/COPYING"
59bdf78bd1d9 installation: update to use hatch following change in backend and other frontends:
Goffi <goffi@goffi.org>
parents:
diff changeset
72 "README.md" = "share/doc/libervia-desktop-kivy/README.md"