Skip to main content

PyInstaller builder plugin for DistroMate

Project description

pyinstaller-plus

Build Python desktop apps through distromate with PyInstaller as the host build tool.

Install

pip install pyinstaller-plus

Install the DistroMate CLI separately. This package only provides the builder plugin entrypoint.

Usage

Point distromate.yaml at the builder plugin and put PyInstaller arguments in source.options.pyinstallerArgs:

source:
  type: adapter
  plugin: pyinstaller
  options:
    projectDir: .
    pyinstallerArgs:
      - --onefile
      - --windowed
      - app.py

publish:
  appId: "70253487"
  channel: stable

package:
  publisher: Demo Inc.

Run DistroMate directly:

distromate package -v 1.2.3
distromate publish -v 1.2.3

Installing pyinstaller-plus adds the dm-plugin-pyinstaller command. distromate no longer installs plugins for you.

Behavior

  • runs python -m PyInstaller ... first
  • derives productName, package.name, package.shortDescription, source.root, source.executable, icon, and publisher from PyInstaller args or .spec metadata
  • merges generic DistroMate fields with values resolved from source.options
  • returns prepared native source metadata plus inferred DistroMate defaults over JSON/stdio so distromate continues the package or publish flow

Notes

  • source.options.pyinstallerArgs is the main pass-through for PyInstaller arguments
  • if version is not set in source.options, the plugin falls back to pyproject.toml -> project.version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyinstaller_plus-0.1.29.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyinstaller_plus-0.1.29-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file pyinstaller_plus-0.1.29.tar.gz.

File metadata

  • Download URL: pyinstaller_plus-0.1.29.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for pyinstaller_plus-0.1.29.tar.gz
Algorithm Hash digest
SHA256 2fa5ffaeaf65bb5b4592b07cd54dccc0cd06d1aa156ce447b5381703bc11eec9
MD5 1d91232518a3434189daf288c21fe3ae
BLAKE2b-256 e3b4d56f0f64d61141ef54fd79e48d0280cc0fa3b0edccd3aad86b82c5812842

See more details on using hashes here.

File details

Details for the file pyinstaller_plus-0.1.29-py3-none-any.whl.

File metadata

File hashes

Hashes for pyinstaller_plus-0.1.29-py3-none-any.whl
Algorithm Hash digest
SHA256 80d490b0e1e1d56255cf0f8cb065c870ce5095510b8aae8b44d0f2a0b98642ff
MD5 e0f0b79dfc2d396a32e2277e77e8f3d4
BLAKE2b-256 3b34996a7925a915e3b29b3c09887f9469ab2dcb534bf211cd2f86a669481709

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page