Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import lvgl as lv

## Install

Prebuilt wheels are published as **`pydevices-lvgl`** on [TestPyPI](https://test.pypi.org/project/pydevices-lvgl/) (import as `lvgl`). CI builds a separate wheel for each CPython minor (3.10–3.14) on Linux x86_64 and Windows x64, **Android** wheels for **3.13–3.14** (`android_21_arm64_v8a`, `android_21_x86_64` per [PEP 738](https://peps.python.org/pep-0738/); cibuildwheel has no `armeabi_v7a` yet), plus a **Pyodide** `pyemscripten_2026_0_wasm32` wheel (`cp314`) — pip/micropip select the tag that matches your interpreter.
Prebuilt wheels are published as **`pydevices-lvgl`** on [TestPyPI](https://test.pypi.org/project/pydevices-lvgl/) (import as `lvgl`). CI builds a separate wheel for each CPython minor (3.11–3.14) on Linux x86_64 and Windows x64, **Android** wheels for **3.13–3.14** (`android_21_arm64_v8a`, `android_21_x86_64` per [PEP 738](https://peps.python.org/pep-0738/); cibuildwheel has no `armeabi_v7a` yet), plus a **Pyodide** `pyemscripten_2026_0_wasm32` wheel (`cp314`) — pip/micropip select the tag that matches your interpreter.

**Android (python-for-android / PyDevices):** install the matching wheel from TestPyPI when building an APK, or let the `pydeviceslvgl` p4a recipe fetch it (see [android-template](https://github.com/PyDevices/android-template)):

Expand Down
4 changes: 2 additions & 2 deletions docs/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ files, and updates the `lvgl` submodule pin. Release flow: **[publishing.md](pub

### All platforms

- Python 3.9+ with `pip` and `setuptools`
- Python 3.11+ with `pip` and `setuptools`
- Vendored files above (already in the clone)
- `git submodule update --init lvgl`

Expand All @@ -72,7 +72,7 @@ sudo apt install python3-dev build-essential

### Windows (native or via WSL + `pip.exe`)

- [python.org](https://www.python.org/) CPython (or another MSVC-built Python 3.9+)
- [python.org](https://www.python.org/) CPython (or another MSVC-built Python 3.11+)
- **Microsoft C++ Build Tools** with the **Desktop development with C++** workload
([Visual Studio Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/))
- MinGW is **not** supported for python.org Windows Python; use MSVC.
Expand Down
4 changes: 2 additions & 2 deletions docs/publishing.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ dispatches `mode=release` when its `publish` input is deliberately enabled.
The published-release workflow uses the PyDevices reusable native/WASM package
builder. The repository's `pyproject.toml` keeps the platform policy:

- CPython 3.10–3.14 Linux x86_64 manylinux wheels.
- CPython 3.10–3.14 Windows AMD64 wheels.
- CPython 3.11–3.14 Linux x86_64 manylinux wheels.
- CPython 3.11–3.14 Windows AMD64 wheels.
- CPython 3.13–3.14 Android arm64-v8a and x86_64 wheels.
- Pyodide/WebAssembly wheels supplied by the reusable release workflow.

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ version = {file = "VERSION"}
packages = []
py-modules = ["display_driver", "fs_driver"]

# Wheel CI: one wheel per CPython minor (cp310…cp314) × Linux + Windows + Android — see README.
# Wheel CI: one wheel per CPython minor (cp311…cp314) × Linux + Windows + Android — see README.
# Local reproduction: docs/publishing.md § "Local wheel builds (cibuildwheel)" (Linux needs Docker).
[tool.cibuildwheel]
build = "cp310-* cp311-* cp312-* cp313-* cp314-*"
build = "cp311-* cp312-* cp313-* cp314-*"
skip = "*musllinux* *-macosx_* *-win32"
test-command = "python -c \"import lvgl as lv; lv.init(); lv.deinit()\""
# cp314: import test passes then segfaults on interpreter shutdown after lv.deinit()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,6 @@ def dirname_fixup(path: str) -> str:
description="LVGL bindings for CPython (generated)",
ext_modules=[ext],
py_modules=["display_driver", "fs_driver"],
python_requires=">=3.9",
python_requires=">=3.11",
cmdclass={"build_ext": Win32LinkRspBuildExt},
)
Loading