From dac2ddd12a5fab6db55c32740bb49fb7e757f73f Mon Sep 17 00:00:00 2001 From: Twinkle-3000 Date: Sun, 8 Nov 2026 15:28:04 +0100 Subject: [PATCH] Fix README demo command and source distribution Use the platform-default backend in the demo example and include README.md and LICENSE in source distributions so wheel builds from the sdist succeed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- README.md | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dd91d73..849bb1d 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ show_scene(scene) Run the synthetic demo board: ```bash -python -m layout_viewer --backend vulkan +python -m layout_viewer ``` ## Architecture diff --git a/pyproject.toml b/pyproject.toml index 96846e2..aea74b0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "layout_viewer_build" backend-path = ["_build_backend"] [tool.flit.sdist] -include = ["_build_backend"] +include = ["_build_backend", "README.md", "LICENSE"] exclude = ["_build_backend/__pycache__"] [tool.flit.module]