Skip to main content

Flet builder plugin for DistroMate

Project description

distromate-flet

Build Python desktop apps through distromate with Flet's flet pack workflow.

Install

pip install distromate-flet

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

Usage

Point distromate.yaml at the builder plugin and put Flet pack arguments in source.options.fletArgs:

source:
  type: adapter
  plugin: flet
  options:
    projectDir: .
    fletArgs:
      - --name
      - demo-app
      - --product-name
      - Demo App
      - 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 distromate-flet adds the dm-plugin-flet command. distromate no longer installs plugins for you.

Behavior

  • runs python -m flet pack ... first
  • derives productName, package.name, package.description, source.root, source.executable, icon, and publisher from Flet pack arguments
  • 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.fletArgs is the main pass-through for Flet pack arguments
  • if version is not set in source.options, the plugin falls back to --product-version and then 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

distromate_flet-0.1.1.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

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

distromate_flet-0.1.1-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file distromate_flet-0.1.1.tar.gz.

File metadata

  • Download URL: distromate_flet-0.1.1.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for distromate_flet-0.1.1.tar.gz
Algorithm Hash digest
SHA256 82d361c2a22236952faab74bc27aa307b79bab1eeb0cb373766c9a4fd7c5ada8
MD5 35e60fc6ce1d8042c16f5b007d61c89e
BLAKE2b-256 53a4233caeecdd9229ab5ce9dbcec143bc6abd679d9ca96d78f365ac8fd05bdd

See more details on using hashes here.

File details

Details for the file distromate_flet-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for distromate_flet-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fd7216c478ab177316ad35424b6ac7c860a51c214850bea7c7b6f1906134936f
MD5 1a6b418aaa61b47abb00eda906d56345
BLAKE2b-256 9f19cfcf2c0e938ecaed65407bf3dbb3eeb8bda95cc2f3bc684ed38371094fc3

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