Skip to content

Commit

Permalink
Move logic to determine support revision to Briefcase
Browse files Browse the repository at this point in the history
  • Loading branch information
rmartin16 committed Aug 7, 2024
1 parent df7d3a4 commit 4c1183f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
1 change: 1 addition & 0 deletions cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"finish_args": "",
"modules_extra_content": "",
"python_version": "3.X.0",
"support_revision": "",
"_extensions": [
"briefcase.integrations.cookiecutter.PythonVersionExtension"
]
Expand Down
9 changes: 1 addition & 8 deletions {{ cookiecutter.format }}/briefcase.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,7 @@ target_version = "0.3.20"
app_path = "src/app"
app_requirements_path = "requirements.txt"
support_path = "support"
{{ {
"3.8": 'support_revision = "3.8.19+20240726"',
"3.9": 'support_revision = "3.9.19+20240726"',
"3.10": 'support_revision = "3.10.14+20240726"',
"3.11": 'support_revision = "3.11.9+20240726"',
"3.12": 'support_revision = "3.12.4+20240726"',
}.get(cookiecutter.python_version|py_tag, "") }}

support_revision = "{{ cookiecutter.support_revision }}"

icon.16 = "icons/hicolor/16x16/apps/{{ cookiecutter.bundle_identifier }}.png"
icon.32 = "icons/hicolor/32x32/apps/{{ cookiecutter.bundle_identifier }}.png"
Expand Down

0 comments on commit 4c1183f

Please sign in to comment.