mirror of
https://github.com/slint-ui/slint.git
synced 2025-07-16 01:25:27 +00:00

This permits invoking the Slint compiler conveniently via `uvx slint-compiler` or `pipx slint-compiler`. cc #4136
779 B
779 B
Python Slint Compiler
This package is a wrapper around Slint's compiler for Python, to generate a typed .py
file from a .slint
file, for use with Slint for Python.
When run, the slint compiler binary is downloaded, cached, and run.
By default, the Slint compiler matching the version of this package is downloaded. To select a specific version, set the SLINT_COMPILER_VERSION
environment variable. Set it to nightly
to select the latest nightly release.
Example
uxv run slint-compiler -f python -o app_window.py app-window.slint