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
distromatecontinues the package or publish flow
Notes
source.options.fletArgsis the main pass-through for Flet pack arguments- if
versionis not set insource.options, the plugin falls back to--product-versionand thenpyproject.toml -> project.version
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82d361c2a22236952faab74bc27aa307b79bab1eeb0cb373766c9a4fd7c5ada8
|
|
| MD5 |
35e60fc6ce1d8042c16f5b007d61c89e
|
|
| BLAKE2b-256 |
53a4233caeecdd9229ab5ce9dbcec143bc6abd679d9ca96d78f365ac8fd05bdd
|
File details
Details for the file distromate_flet-0.1.1-py3-none-any.whl.
File metadata
- Download URL: distromate_flet-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd7216c478ab177316ad35424b6ac7c860a51c214850bea7c7b6f1906134936f
|
|
| MD5 |
1a6b418aaa61b47abb00eda906d56345
|
|
| BLAKE2b-256 |
9f19cfcf2c0e938ecaed65407bf3dbb3eeb8bda95cc2f3bc684ed38371094fc3
|