-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
198 lines (176 loc) · 4.88 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
# This project was generated with 0.3.19 using template: https://github.com/beeware/[email protected]
[tool.briefcase]
project_name = "PictureMatchTool"
bundle = "com.simonalexs.python.apps.pc"
version = "1.0.0"
url = "https://pc.apps.python.simonalexs.com/picture_match_tool"
license.file = "LICENSE"
author = "SimonAlexs"
author_email = "[email protected]"
[tool.briefcase.app.picture_match_tool]
formal_name = "PictureMatchTool"
description = ""
long_description = """
"""
url = "https://github.com/simonalexs/PictureMatchTool"
icon = "icons/app"
sources = [
"src/picture_match_tool",
"config",
"data",
]
test_sources = [
"tests",
]
# 项目依赖包列举在这里,就是 pip install 后所跟的名称
requires = [
"Pillow",
"PyGetWindow",
"opencv-python",
"APScheduler",
"numpy",
"PyAutoGUI",
"pywin32",
"requests",
"mss",
"screeninfo",
]
test_requires = [
"pytest",
]
[tool.briefcase.app.picture_match_tool.macOS]
universal_build = true
requires = [
"toga-cocoa~=0.4.5",
"std-nslog~=1.0.0",
]
[tool.briefcase.app.picture_match_tool.linux]
requires = [
"toga-gtk~=0.4.5",
]
[tool.briefcase.app.picture_match_tool.linux.system.debian]
system_requires = [
# Needed to compile pycairo wheel
"libcairo2-dev",
# Needed to compile PyGObject wheel
"libgirepository1.0-dev",
]
system_runtime_requires = [
# Needed to provide GTK and its GI bindings
"gir1.2-gtk-3.0",
"libgirepository-1.0-1",
# Dependencies that GTK looks for at runtime
"libcanberra-gtk3-module",
# Needed to provide WebKit2 at runtime
# Note: Debian 11 and Ubuntu 20.04 require gir1.2-webkit2-4.0 instead
# "gir1.2-webkit2-4.1",
]
[tool.briefcase.app.picture_match_tool.linux.system.rhel]
system_requires = [
# Needed to compile pycairo wheel
"cairo-gobject-devel",
# Needed to compile PyGObject wheel
"gobject-introspection-devel",
]
system_runtime_requires = [
# Needed to support Python bindings to GTK
"gobject-introspection",
# Needed to provide GTK
"gtk3",
# Dependencies that GTK looks for at runtime
"libcanberra-gtk3",
# Needed to provide WebKit2 at runtime
# "webkit2gtk3",
]
[tool.briefcase.app.picture_match_tool.linux.system.suse]
system_requires = [
# Needed to compile pycairo wheel
"cairo-devel",
# Needed to compile PyGObject wheel
"gobject-introspection-devel",
]
system_runtime_requires = [
# Needed to provide GTK
"gtk3",
# Needed to support Python bindings to GTK
"gobject-introspection", "typelib(Gtk) = 3.0",
# Dependencies that GTK looks for at runtime
"libcanberra-gtk3-module",
# Needed to provide WebKit2 at runtime
# "libwebkit2gtk3", "typelib(WebKit2)",
]
[tool.briefcase.app.picture_match_tool.linux.system.arch]
system_requires = [
# Needed to compile pycairo wheel
"cairo",
# Needed to compile PyGObject wheel
"gobject-introspection",
# Runtime dependencies that need to exist so that the
# Arch package passes final validation.
# Needed to provide GTK
"gtk3",
# Dependencies that GTK looks for at runtime
"libcanberra",
# Needed to provide WebKit2
# "webkit2gtk",
]
system_runtime_requires = [
# Needed to provide GTK
"gtk3",
# Needed to provide PyGObject bindings
"gobject-introspection-runtime",
# Dependencies that GTK looks for at runtime
"libcanberra",
# Needed to provide WebKit2 at runtime
# "webkit2gtk",
]
[tool.briefcase.app.picture_match_tool.linux.appimage]
manylinux = "manylinux_2_28"
system_requires = [
# Needed to compile pycairo wheel
"cairo-gobject-devel",
# Needed to compile PyGObject wheel
"gobject-introspection-devel",
# Needed to provide GTK
"gtk3-devel",
# Dependencies that GTK looks for at runtime, that need to be
# in the build environment to be picked up by linuxdeploy
"libcanberra-gtk3",
"PackageKit-gtk3-module",
"gvfs-client",
]
linuxdeploy_plugins = [
"DEPLOY_GTK_VERSION=3 gtk",
]
[tool.briefcase.app.picture_match_tool.linux.flatpak]
flatpak_runtime = "org.gnome.Platform"
flatpak_runtime_version = "45"
flatpak_sdk = "org.gnome.Sdk"
[tool.briefcase.app.picture_match_tool.windows]
requires = [
"toga-winforms~=0.4.5",
]
# Mobile deployments
[tool.briefcase.app.picture_match_tool.iOS]
requires = [
"toga-iOS~=0.4.5",
"std-nslog~=1.0.0",
]
[tool.briefcase.app.picture_match_tool.android]
requires = [
"toga-android~=0.4.5",
]
base_theme = "Theme.MaterialComponents.Light.DarkActionBar"
build_gradle_dependencies = [
"com.google.android.material:material:1.11.0",
# Needed for DetailedList
# "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0",
# Needed for MapView
# "org.osmdroid:osmdroid-android:6.1.0",
]
# Web deployments
[tool.briefcase.app.picture_match_tool.web]
requires = [
"toga-web~=0.4.5",
]
style_framework = "Shoelace v2.3"