-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
112 lines (94 loc) · 3.09 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
[tool.briefcase]
project_name = "Testbed"
bundle = "org.beeware"
version = "0.0.1"
url = "https://beeware.org"
license.file = "LICENSE"
author = 'Russell Keith-Magee'
author_email = "russell@beeware.org"
[tool.briefcase.app.testbed]
formal_name = "Testbed"
description = "A testbed for the Apple Support packages."
long_description = """A test of common use cases and known problems with bundled apps.
Validates 3rd party module loading, as well as basic app packaging.
"""
icon = "icons/testbed"
sources = ["src/testbed"]
test_sources = ["tests"]
requires = [
"cryptography",
"lru_dict",
"pillow",
# Numpy/pandas aren't available on 3.13.
"numpy; python_version < '3.13'",
"pandas; python_version < '3.13'",
]
test_requires = [
"pytest",
]
[tool.briefcase.app.testbed.macOS]
requires = [
# Provide a source of binary wheels that aren't provided on PyPI.
"--find-links", "./wheels",
"rubicon-objc",
"std-nslog",
]
# support_package = "../Python-Apple-support/dist/Python-3.13-macOS-support.custom.tar.gz"
[tool.briefcase.app.testbed.macOS.app]
# template = "../../templates/briefcase-macOS-app-template"
# stub_binary = "../../templates/briefcase-macOS-Xcode-template/stub/build/gui-stub/macos/xcode/build/Release/GUI Stub.app/Contents/MacOS/GUI Stub"
[tool.briefcase.app.testbed.macOS.Xcode]
# template = "../../templates/briefcase-macOS-Xcode-template"
[tool.briefcase.app.testbed.linux]
requires=[
'pycairo',
'pygobject',
]
[tool.briefcase.app.testbed.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",
]
[tool.briefcase.app.testbed.linux.flatpak]
flatpak_runtime = "org.gnome.Platform"
flatpak_runtime_version = "45"
flatpak_sdk = "org.gnome.Sdk"
# template = "../../templates/briefcase-linux-flatpak-template"
[tool.briefcase.app.testbed.windows]
requires = [
"pythonnet>=3.0.0rc6",
# Windows doesn't provide the zoneinfo TZ database; use the Python provided one
"tzdata",
]
[tool.briefcase.app.testbed.windows.app]
# template = "../../templates/briefcase-windows-app-template"
[tool.briefcase.app.testbed.windows.VisualStudio]
# template = "../../templates/briefcase-windows-VisualStudio-template"
# Mobile deployments
[tool.briefcase.app.testbed.iOS]
requires = [
"rubicon-objc",
"std-nslog",
]
# support_package = "../Python-Apple-support/dist/Python-3.13-iOS-support.custom.tar.gz"
# template = "../../templates/briefcase-iOS-Xcode-template"
[tool.briefcase.app.testbed.android]
requires = [
# Android doesn't provide the zoneinfo TZ database; use the Python provided one
"tzdata",
]
# support_package = "../Python-Android-support/dist/Python-3.13-Android-support.custom.zip"
# template = "../../templates/briefcase-Android-gradle-template"
[tool.isort]
profile = "black"
split_on_trailing_comma = true
combine_as_imports = true