This repository builds platform-specific weasyprint wheels that contain the
native Pango, HarfBuzz, Fontconfig, FreeType and Cairo runtime required by
WeasyPrint.
Importing weasyprint activates the runtime embedded below
weasyprint/_weasyprint_libs before WeasyPrint loads its native dependencies.
| Platform | Wheel tag | Native source |
|---|---|---|
| Linux x86-64 | manylinux_2_28_x86_64 |
Libraries built from pinned source archives |
| Windows x86-64 | win_amd64 |
Locked MSYS2/MinGW runtime packages |
| macOS Apple Silicon | macosx_11_0_arm64 |
Relocated Homebrew runtime |
| macOS Intel | macosx_11_0_x86_64 |
Relocated Homebrew runtime |
The generated version uses a PEP 440 local version identifier, for example:
weasyprint-69.0+bundled.26.1.1-py3-none-manylinux_2_28_x86_64.whl
just build "69.0" x86_64Generated wheels are written to dist/.
Fast source and build-logic tests:
just checkBuild the complete Linux wheel, install it into a clean virtual environment and
render the test document without full_fonts=True:
make test-unitTest an already built wheel without rebuilding the native stack:
make test-wheel- Build and test workflow
- Wheel layout and patching
- Runtime activation
- macOS wheels
- Licensing and redistribution
- Bundled third-party libraries
The project-specific Python and build code is licensed under the MIT License. Bundled third-party libraries retain their respective licenses; see THIRD_PARTY_LICENSES.md.