Skip to content

feat: PyInstaller builds for Windows, Linux, and macOS#54

Merged
bitdruid merged 2 commits intobitdruid:mainfrom
HN-Tran:main
May 8, 2026
Merged

feat: PyInstaller builds for Windows, Linux, and macOS#54
bitdruid merged 2 commits intobitdruid:mainfrom
HN-Tran:main

Conversation

@HN-Tran
Copy link
Copy Markdown
Contributor

@HN-Tran HN-Tran commented Mar 20, 2026

Summary

  • Adds a PyInstaller hook (hooks/hook-magic.py) to bundle python-magic-standalone's shared libraries and data files into the executable
  • Adds a GitHub Actions workflow (.github/workflows/build.yml) that builds Linux, Windows, and macOS executables on tag push or manual dispatch
  • On tag push, automatically creates a GitHub Release with all three platform binaries attached (with auto-generated release notes)

Test plan

Adds a PyInstaller hook for python-magic-standalone and a GitHub Actions
workflow that builds Linux, Windows, and macOS executables on tag push
or manual dispatch, with automatic GitHub Release creation.
@bitdruid bitdruid self-requested a review March 20, 2026 06:37
@bitdruid bitdruid self-assigned this Mar 20, 2026
@bitdruid bitdruid added the enhancement New feature or request label Mar 20, 2026
Copy link
Copy Markdown
Owner

@bitdruid bitdruid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few changes needed to match the requirements: only trigger when a release is published, support x.y.z tags (no v prefix), and don't overwrite manually written release notes.

Comment thread .github/workflows/build.yml Outdated
Comment thread .github/workflows/build.yml Outdated
@bitdruid bitdruid merged commit 959aebc into bitdruid:main May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants