https://github.com/zevlee/hello-world-tk
A template build system for easily distributing Python-based Tk applications on Windows, macOS, and Linux
https://github.com/zevlee/hello-world-tk
gui python template tk tkinter
Last synced: 9 months ago
JSON representation
A template build system for easily distributing Python-based Tk applications on Windows, macOS, and Linux
- Host: GitHub
- URL: https://github.com/zevlee/hello-world-tk
- Owner: zevlee
- License: mit
- Created: 2024-01-20T11:52:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-09-18T21:00:45.000Z (9 months ago)
- Last Synced: 2025-09-18T23:01:50.591Z (9 months ago)
- Topics: gui, python, template, tk, tkinter
- Language: Python
- Homepage:
- Size: 412 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hello World Tk
Hello World Tk is an easily configurable build system for distributing
Python-based Tk applications. This is an example repository for
[PyDeployment](https://github.com/pydeployment/pydeployment), which is used to
easily build applications for Windows, macOS, and Linux.
Check out the workflow file to get an idea of how to use GitHub workflows to
automate creating releases and building binaries.
## Code Signing and Notarization for macOS Builds
On macOS, applications must be code signed and notarized in order for users to
run them without bypassing Gatekeeper. You will need an active Apple Developer
account in order to generate and use the necessary certificate to code sign
your application.
To enable code signing and notarization for macOS builds, you will need to
uncomment the relevant lines in the `build-macos.yml` and
`build-macos-intel.yml` workflow files and add several repository secrets.
These secrets can be added at
`https://github.com///settings/secrets/actions`.
The following secrets are needed.
| Name | Content |
| :-- | :-- |
| MACOS_CERTIFICATE | Developer ID Application certificate exported from the Keychain Access app and encoded in base64 |
| MACOS_CERTIFICATE_NAME | Name of the Developer ID Application certificate. Comes in the form `Developer ID Application: Name Here (TEAMIDHERE)` |
| MACOS_CERTIFICATE_PWD | The password of the exported certificate |
| MACOS_CI_KEYCHAIN_PWD | Randomly generated password |
| MACOS_NOTARIZATION_APPLE_ID | Apple ID of the Apple Developer Account |
| MACOS_NOTARIZATION_PWD | A generated app-specific password |
| MACOS_NOTARIZATION_TEAM_ID | Team ID of the Apple Developer Account |