Mercurial > libervia-desktop-kivy
comparison 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 |
comparison
equal
deleted
inserted
replaced
494:a4a5565e7026 | 495:59bdf78bd1d9 |
---|---|
1 [build-system] | |
2 requires = ["hatchling"] | |
3 build-backend = "hatchling.build" | |
4 | |
5 [project] | |
6 name = "libervia-desktop-kivy" | |
7 dynamic = ["version"] | |
8 description = "Desktop/Android frontend (Kivy version) for Libervia XMPP client" | |
9 readme = "README.md" | |
10 license = "AGPL-3.0-or-later" | |
11 requires-python = ">=3.10" | |
12 authors = [ | |
13 { name = "Libervia Dev Team", email = "contact@goffi.org" }, | |
14 ] | |
15 classifiers = [ | |
16 "Development Status :: 5 - Production/Stable", | |
17 "Environment :: X11 Applications", | |
18 "Framework :: Twisted", | |
19 "Intended Audience :: End Users/Desktop", | |
20 "Operating System :: Android", | |
21 "Operating System :: POSIX :: Linux", | |
22 "Topic :: Communications :: Chat", | |
23 "Topic :: Internet :: XMPP", | |
24 ] | |
25 dependencies = [ | |
26 "kivy ~= 2.2.0", | |
27 "kivy_garden.modernmenu", | |
28 # "libervia-backend == 0.9.*", | |
29 "pillow <9.3", | |
30 "plyer <2.1", | |
31 ] | |
32 keywords = [ | |
33 "XMPP", | |
34 "desktop", | |
35 "kivy", | |
36 "chat", | |
37 "instant_messaging", | |
38 "file_sharing" | |
39 ] | |
40 | |
41 [project.scripts] | |
42 libervia-desktop-kivy = "libervia.desktop_kivy:run" | |
43 libervia-mobile = "libervia.desktop_kivy:run" | |
44 cagou = "libervia.desktop_kivy:run" | |
45 | |
46 [project.urls] | |
47 Homepage = "https://libervia.org" | |
48 | |
49 [tool.hatch.build.targets.wheel] | |
50 packages = ["libervia", "twisted"] | |
51 | |
52 [tool.hatch.envs.default] | |
53 # we need system-package for GPG | |
54 system-packages = true | |
55 | |
56 [tool.hatch.envs.dev] | |
57 dependencies = [ | |
58 "ipdb", | |
59 "pudb", | |
60 "pytest", | |
61 "pytest-asyncio" | |
62 ] | |
63 | |
64 [tool.hatch.metadata] | |
65 allow-direct-references = true | |
66 | |
67 [tool.hatch.version] | |
68 path = "libervia/desktop_kivy/__init__.py" | |
69 | |
70 [tool.hatch.build.targets.wheel.shared-data] | |
71 COPYING = "share/doc/libervia-desktop-kivy/COPYING" | |
72 "README.md" = "share/doc/libervia-desktop-kivy/README.md" |