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.2.tar.gz (9.0 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.2-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for distromate_flet-0.1.2.tar.gz
Algorithm Hash digest
SHA256 47e96c6e9f3a7a8acc28a59a04b4c5213473974ca33e322161279661d967a4dc
MD5 7cf2ea444d96227b73b0504633ddc9e9
BLAKE2b-256 4a5d91d373170b83244c9cdb91de21c8918e8bd600370a1a28ba018c8b904ebc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for distromate_flet-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a2762f8e8b2a2ba51c06c1a092315665b7dc8b05ce0e9594ba3eb56035fd485f
MD5 060081a44dc2342f5692f4addbf0d243
BLAKE2b-256 e89007cf75a240e9c77dd40343e4125ed819b2bcefbe14cf18e757918feb4d49

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