Skip to content

Build your Python projects, and turn them into packaged executables for all platforms.

License

Notifications You must be signed in to change notification settings

uukelele-scratch/pybuild

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

pybuild

Build your Python projects, and turn them into packaged executables for all platforms.

Usage

Create a GitHub workflow at .github/workflows/release.yml:

name: Release

on:
  release:
    types: [created]

permissions:
  contents: write

jobs:
  build:
    uses: uukelele-scratch/pybuild/.github/workflows/build.yml@main
    with:
      app_name: "App"
      data_dir: "assets" 
      icon_ico: "assets/icon.ico"
      icon_png: "assets/icon.png"
      version: ${{ github.event.release.tag_name }}
      app_id: "AAAA-AAAA-AAAA-AAAA"
      entry_point: "src/main.py"

  publish:
    needs: build
    runs-on: ubuntu-latest
    steps:
      - uses: actions/download-artifact@v4
      - uses: softprops/action-gh-release@v1
        with:
          files: |
            windows-installer/*.exe
            linux-appimage/*.AppImage
            macos-dmg/*.dmg

Then, publish a release.

About

Build your Python projects, and turn them into packaged executables for all platforms.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published