Skip to content

Commit

Permalink
Merge pull request #81 from beeware/toga-update
Browse files Browse the repository at this point in the history
Use Toga 0.4 on new projects.
  • Loading branch information
mhsmith committed Nov 3, 2023
2 parents 7a644ac + b531e79 commit 6b0c557
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions {{ cookiecutter.app_name }}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ test_requires = [
universal_build = true
requires = [
{%- if cookiecutter.gui_framework == "Toga" %}
"toga-cocoa~=0.3.1",
"toga-cocoa~=0.4.0",
{%- endif %}
"std-nslog~=1.0.0"
]

[tool.briefcase.app.{{ cookiecutter.app_name|escape_non_ascii }}.linux]
requires = [
{%- if cookiecutter.gui_framework == "Toga" %}
"toga-gtk~=0.3.1",
"toga-gtk~=0.4.0",
{%- endif %}
]

Expand Down Expand Up @@ -265,15 +265,15 @@ flatpak_sdk = "org.freedesktop.Sdk"
[tool.briefcase.app.{{ cookiecutter.app_name|escape_non_ascii }}.windows]
requires = [
{%- if cookiecutter.gui_framework == "Toga" %}
"toga-winforms~=0.3.1",
"toga-winforms~=0.4.0",
{% endif -%}
]

# Mobile deployments
[tool.briefcase.app.{{ cookiecutter.app_name|escape_non_ascii }}.iOS]
{%- if cookiecutter.gui_framework == "Toga" %}
requires = [
"toga-iOS~=0.3.1",
"toga-iOS~=0.4.0",
"std-nslog~=1.0.0"
]
{%- else %}
Expand All @@ -283,7 +283,7 @@ supported = false
[tool.briefcase.app.{{ cookiecutter.app_name|escape_non_ascii }}.android]
{%- if cookiecutter.gui_framework == "Toga" %}
requires = [
"toga-android~=0.3.1"
"toga-android~=0.4.0"
]
{%- else %}
supported = false
Expand All @@ -293,7 +293,7 @@ supported = false
[tool.briefcase.app.{{ cookiecutter.app_name|escape_non_ascii }}.web]
{%- if cookiecutter.gui_framework == "Toga" %}
requires = [
"toga-web~=0.3.1",
"toga-web~=0.4.0",
]
style_framework = "Shoelace v2.3"
{%- else %}
Expand Down

0 comments on commit 6b0c557

Please sign in to comment.