You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

185 lines
4.5 KiB
TOML

# This project was generated with 0.3.18 using template: https://github.com/beeware/briefcase-template@v0.3.18
[tool.briefcase]
project_name = "Netool Client"
bundle = "sh.deck"
version = "0.0.1"
url = "https://git.deck.sh/shark/netool-newapp"
license = "GNU General Public License v3 (GPLv3)"
author = "Amelia Deck"
author_email = "amelia@deck.sh"
[tool.briefcase.app.netoolclient]
formal_name = "Netool Client"
description = "A third-party cross-platform Netool companion app."
long_description = """More details about the app should go here.
"""
sources = [
"src/netoolclient",
]
test_sources = [
"tests",
]
requires = [
"httpx",
]
test_requires = [
"pytest",
]
[tool.briefcase.app.netoolclient.macOS]
universal_build = true
requires = [
"toga-cocoa~=0.4.0",
"std-nslog~=1.0.0",
]
[tool.briefcase.app.netoolclient.linux]
requires = [
"toga-gtk~=0.4.0",
]
[tool.briefcase.app.netoolclient.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.netoolclient.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.netoolclient.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.netoolclient.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.netoolclient.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.netoolclient.linux.flatpak]
flatpak_runtime = "org.gnome.Platform"
flatpak_runtime_version = "45"
flatpak_sdk = "org.gnome.Sdk"
[tool.briefcase.app.netoolclient.windows]
requires = [
"toga-winforms~=0.4.0",
]
# Mobile deployments
[tool.briefcase.app.netoolclient.iOS]
requires = [
"toga-iOS~=0.4.0",
"std-nslog~=1.0.0",
]
[tool.briefcase.app.netoolclient.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.netoolclient.web]
requires = [
"toga-web~=0.4.0",
]
style_framework = "Shoelace v2.3"