summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorSimeon Simeonov2025-12-23 09:59:50 +0100
committerSimeon Simeonov2025-12-23 09:59:50 +0100
commita29c4509a316c0c77450b6fa74b96f036b0f0821 (patch)
tree13babfe7a0fba24c7df609c909b81ab70f4092ec /pyproject.toml
parent8ad11db860898dcfc9269f2b84df7e301a6e8e5c (diff)
Add structure
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml194
1 files changed, 194 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..b76b249
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,194 @@
1# This project was generated with 0.3.26 using template: https://github.com/beeware/briefcase-template @ v0.3.26
2[tool.briefcase]
3project_name = "scorecounter"
4bundle = "org.pichove"
5version = "1.0.0"
6url = "https://simeon.simeonov.no"
7license.file = "LICENSE"
8author = "Simeon Simeonov"
9author_email = "sgs@pichove.org"
10
11[tool.briefcase.app.scorecounter]
12formal_name = "scorecounter"
13description = "Simple application for counting scores for two teams"
14long_description = """Simple application for counting scores for two teams
15"""
16sources = [
17 "src/scorecounter",
18]
19test_sources = [
20 "tests",
21]
22
23requires = [
24]
25test_requires = [
26 "pytest",
27]
28
29[tool.briefcase.app.scorecounter.macOS]
30universal_build = true
31requires = [
32 "toga-cocoa~=0.5.0",
33 "std-nslog~=1.0.3",
34]
35
36[tool.briefcase.app.scorecounter.linux]
37requires = [
38 "toga-gtk~=0.5.0",
39 # PyGObject 3.52.1 enforces a requirement on libgirepository-2.0-dev. This library
40 # isn't available on Debian 12/Ubuntu 22.04. If you don't need to support those (or
41 # older) releases, you can remove this version pin. See beeware/toga#3143.
42 "pygobject < 3.52.1",
43]
44
45[tool.briefcase.app.scorecounter.linux.system.debian]
46system_requires = [
47 # Needed to compile pycairo wheel
48 "libcairo2-dev",
49 # One of the following two packages are needed to compile PyGObject wheel. If you
50 # remove the pygobject pin in the requires list, you should also change to the
51 # version 2.0 of the girepository library. See beeware/toga#3143.
52 "libgirepository1.0-dev",
53 # "libgirepository-2.0-dev",
54]
55
56system_runtime_requires = [
57 # Needed to provide GTK and its GI bindings
58 "gir1.2-gtk-3.0",
59 # One of the following two packages are needed to use PyGObject at runtime. If you
60 # remove the pygobject pin in the requires list, you should also change to the
61 # version 2.0 of the girepository library. See beeware/toga#3143.
62 "libgirepository-1.0-1",
63 # "libgirepository-2.0-0",
64 # Dependencies that GTK looks for at runtime
65 "libcanberra-gtk3-module",
66 # Needed to provide WebKit2 at runtime
67 # Note: Debian 11 requires gir1.2-webkit2-4.0 instead
68 # "gir1.2-webkit2-4.1",
69]
70
71[tool.briefcase.app.scorecounter.linux.system.rhel]
72system_requires = [
73 # Needed to compile pycairo wheel
74 "cairo-gobject-devel",
75 # Needed to compile PyGObject wheel
76 "gobject-introspection-devel",
77]
78
79system_runtime_requires = [
80 # Needed to support Python bindings to GTK
81 "gobject-introspection",
82 # Needed to provide GTK
83 "gtk3",
84 # Dependencies that GTK looks for at runtime
85 "libcanberra-gtk3",
86 # Needed to provide WebKit2 at runtime
87 # "webkit2gtk3",
88]
89
90[tool.briefcase.app.scorecounter.linux.system.suse]
91system_requires = [
92 # Needed to compile pycairo wheel
93 "cairo-devel",
94 # Needed to compile PyGObject wheel
95 "gobject-introspection-devel",
96]
97
98system_runtime_requires = [
99 # Needed to provide GTK
100 "gtk3",
101 # Needed to support Python bindings to GTK
102 "gobject-introspection", "typelib(Gtk) = 3.0",
103 # Dependencies that GTK looks for at runtime
104 "libcanberra-gtk3-module",
105 # Needed to provide WebKit2 at runtime
106 # "libwebkit2gtk3", "typelib(WebKit2)",
107]
108
109[tool.briefcase.app.scorecounter.linux.system.arch]
110system_requires = [
111 # Needed to compile pycairo wheel
112 "cairo",
113 # Needed to compile PyGObject wheel
114 "gobject-introspection",
115 # Runtime dependencies that need to exist so that the
116 # Arch package passes final validation.
117 # Needed to provide GTK
118 "gtk3",
119 # Dependencies that GTK looks for at runtime
120 "libcanberra",
121 # Needed to provide WebKit2
122 # "webkit2gtk",
123]
124
125system_runtime_requires = [
126 # Needed to provide GTK
127 "gtk3",
128 # Needed to provide PyGObject bindings
129 "gobject-introspection-runtime",
130 # Dependencies that GTK looks for at runtime
131 "libcanberra",
132 # Needed to provide WebKit2 at runtime
133 # "webkit2gtk",
134]
135
136[tool.briefcase.app.scorecounter.linux.appimage]
137manylinux = "manylinux_2_28"
138
139system_requires = [
140 # Needed to compile pycairo wheel
141 "cairo-gobject-devel",
142 # Needed to compile PyGObject wheel
143 "gobject-introspection-devel",
144 # Needed to provide GTK
145 "gtk3-devel",
146 # Dependencies that GTK looks for at runtime, that need to be
147 # in the build environment to be picked up by linuxdeploy
148 "libcanberra-gtk3",
149 "PackageKit-gtk3-module",
150 "gvfs-client",
151]
152
153linuxdeploy_plugins = [
154 "DEPLOY_GTK_VERSION=3 gtk",
155]
156
157[tool.briefcase.app.scorecounter.linux.flatpak]
158flatpak_runtime = "org.gnome.Platform"
159flatpak_runtime_version = "48"
160flatpak_sdk = "org.gnome.Sdk"
161
162[tool.briefcase.app.scorecounter.windows]
163requires = [
164 "toga-winforms~=0.5.0",
165]
166
167# Mobile deployments
168[tool.briefcase.app.scorecounter.iOS]
169requires = [
170 "toga-iOS~=0.5.0",
171 "std-nslog~=1.0.3",
172]
173
174[tool.briefcase.app.scorecounter.android]
175requires = [
176 "toga-android~=0.5.0",
177]
178
179base_theme = "Theme.MaterialComponents.Light.DarkActionBar"
180
181build_gradle_dependencies = [
182 "com.google.android.material:material:1.13.0",
183 # Needed for DetailedList
184 # "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0",
185 # Needed for MapView
186 # "org.osmdroid:osmdroid-android:6.1.20",
187]
188
189# Web deployments
190[tool.briefcase.app.scorecounter.web]
191requires = [
192 "toga-web~=0.5.0",
193]
194