-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
185 lines (164 loc) · 4.21 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
[tool.briefcase]
project_name = "pyChat"
bundle = "com.github.bitstuffing.pychat"
version = "0.1.1"
url = "https://bitstuffing.github.io/pychat"
license = "CC BY-NC-ND 4.0"
author = "bitstuffing"
author_email = "no@reply.com"
[tool.briefcase.app.pychat]
formal_name = "pyChat"
description = "Python assistant with OpenAI GPT4 and other assistant / providers"
long_description = """More details about the app in a future release
"""
icon = "pychat/resources/pychat"
sources = [
"core",
"pychat"
]
test_sources = [
"tests",
]
requires = [
"python-dateutil",
"selenium",
"undetected_chromedriver",
"SpeechRecognition",
"websocket-client",
"pyAudio",
"poetry",
"pytest",
"aiohttp"
]
test_requires = [
"pytest",
]
[tool.briefcase.app.pychat.macOS]
universal_build = true
requires = [
"toga-cocoa~=0.4.5",
"std-nslog~=1.0.0"
]
[tool.briefcase.app.pychat.linux]
requires = [
"toga-gtk~=0.4.5",
]
[tool.briefcase.app.pychat.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
# "gir1.2-webkit2-4.0",
]
[tool.briefcase.app.pychat.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.pychat.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-0",
# Needed to provide WebKit2 at runtime
# "libwebkit2gtk3",
# "typelib(WebKit2)",
]
[tool.briefcase.app.pychat.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.pychat.linux.appimage]
manylinux = "manylinux2014"
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.pychat.linux.flatpak]
flatpak_runtime = "org.gnome.Platform"
flatpak_runtime_version = "44"
flatpak_sdk = "org.gnome.Sdk"
[tool.briefcase.app.pychat.windows]
requires = [
"toga-winforms~=0.4.5",
]
# Mobile deployments
[tool.briefcase.app.pychat.iOS]
requires = [
"toga-iOS~=0.4.5",
"std-nslog~=1.0.0"
]
[tool.briefcase.app.pychat.android]
requires = [
"toga-android~=0.4.5"
]
# Web deployments
[tool.briefcase.app.pychat.web]
requires = [
"toga-web~=0.4.5",
"toga-webview~=0.4.5",
]
style_framework = "Shoelace v2.3"