learning-beeware/pyproject.toml

196 lines
4.4 KiB
TOML

# This project was generated with 0.3.17 using template: https://github.com/beeware/briefcase-template@v0.3.17
[tool.briefcase]
project_name = "Hello World"
bundle = "com.example"
version = "0.0.1"
url = "https://git.batts.cloud/vbatts/learning-beeware"
license = "MIT license"
author = "Vincent Batts"
author_email = "vbatts@hashbangbash.com"
[tool.briefcase.app.helloworld]
formal_name = "Hello World"
description = "yup, a first try"
long_description = """let's see if we craft an idea from this
"""
icon = "src/helloworld/resources/helloworld"
sources = [
"src/helloworld",
]
test_sources = [
"tests",
]
requires = [
]
test_requires = [ "pytest",]
[tool.briefcase.app.helloworld.macOS]
universal_build = true
requires = [
"toga-cocoa~=0.4.0",
"std-nslog~=1.0.0",
]
[tool.briefcase.app.helloworld.linux]
requires = [
"toga-gtk~=0.4.0",
]
[tool.briefcase.app.helloworld.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.helloworld.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.helloworld.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.helloworld.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.helloworld.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.helloworld.linux.flatpak]
flatpak_runtime = "org.gnome.Platform"
flatpak_runtime_version = "45"
flatpak_sdk = "org.gnome.Sdk"
[tool.briefcase.app.helloworld.windows]
requires = [
"toga-winforms~=0.4.0",
]
# Mobile deployments
[tool.briefcase.app.helloworld.iOS]
requires = [
"toga-iOS~=0.4.0",
"std-nslog~=1.0.0",
]
[tool.briefcase.app.helloworld.android]
requires = [
"toga-android~=0.4.0",
]
base_theme = "Theme.MaterialComponents.Light.DarkActionBar"
build_gradle_dependencies = [
"androidx.appcompat:appcompat:1.6.1",
"com.google.android.material:material:1.11.0",
# Needed for DetailedList
"androidx.swiperefreshlayout:swiperefreshlayout:1.1.0",
]
# Web deployments
[tool.briefcase.app.helloworld.web]
requires = [
"toga-web~=0.4.0",
]
style_framework = "Shoelace v2.3"