You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[`.github/workflows/all-builds.yml`](.github/workflows/all-builds.yml)| Builds for Linux, macOS, Windows, AAB, APK, IPA, and Web.<br>More details [here](https://docs.flet.dev/publish/#github-actions). |
16
-
|[`.github/workflows/web-build-and-github-pages-deploy.yml`](.github/workflows/web-build-and-github-pages-deploy.yml)| Builds the web app and deploys it to GitHub Pages.<br><br>Uses:<br>• `--base-url ${GITHUB_REPOSITORY#*/}` (repository name as base URL)<br>• `--route-url-strategy hash` (recommended for static hosts like GitHub Pages) |
17
-
|[`pyproject.toml`](pyproject.toml)| Example Flet project configuration |
18
-
|[`src/main.py`](src/main.py)| Example Flet app to test the workflows |
|[`.github/workflows/all-builds.yml`](.github/workflows/all-builds.yml)| Builds for Linux, macOS, Windows, AAB, APK, IPA, and Web.<br>More details [here](https://docs.flet.dev/publish/#github-actions). |
14
+
|[`.github/workflows/web-build-and-github-pages-deploy.yml`](.github/workflows/web-build-and-github-pages-deploy.yml)| Builds the web app and deploys it to GitHub Pages.<br>Uses:<br>• `--base-url ${GITHUB_REPOSITORY#*/}` - repository name as base URL<br>• `--route-url-strategy hash` - recommended for static hosts like GitHub Pages |
15
+
|[`pyproject.toml`](pyproject.toml)| Example Flet project configuration |
16
+
|[`src/main.py`](src/main.py)| Example Flet app to test the workflows |
19
17
20
18
21
19
**Quick start:**
@@ -31,13 +29,12 @@ Feel free to reuse them and customize to your specific usecases and needs.
-[`PYTHONUTF8`](https://docs.python.org/3/using/cmdline.html#envvar-PYTHONUTF8) - enables UTF-8 encoding for Python. Useful in Windows builds.
34
-
- Build commands: customize `flet build ...` flags to match your app requirements.
32
+
- Build commands: customize `flet build ...` flags to match your app requirements. Or define them in the [`pyproject.toml`](https://docs.flet.dev/publish).
35
33
36
34
## Notes
37
35
38
36
- The workflows run with `--verbose` to make `flet build` troubleshooting easier.
39
37
- Linux desktop builds need extra system packages, already handled in `all-builds.yml`.
40
-
- You can define app metadata (like `BUILD_NUMBER` and `BUILD_VERSION`) in the `pyproject.toml` if preferred. ([docs](https://docs.flet.dev/publish/#versioning))
0 commit comments