Skip to content

docs: clarify sdist/source-build requirements in the README - #46

Merged
jameskermode merged 1 commit into
masterfrom
docs/build-requirements
Jun 17, 2026
Merged

jameskermode merged 1 commit into
masterfrom
docs/build-requirements

Conversation

@jameskermode

Copy link
Copy Markdown
Member

What

Make the README's source-build requirements accurate, now that the comment-line dispatcher landed and v0.4.4 ships CPython 3.10–3.14 wheels + an sdist.

Two paragraphs in the install section:

  • Build deps: a C compiler only (Fortran fextxyz is optional/off by default); libcleri is bundled (submodule in the repo, vendored into the sdist) and always built from source — no longer an external dep; PCRE2 is the one external native library — system via pkg-config, else downloaded+compiled from the bundled meson wrap (needs network), not vendored; NumPy is a build-time dep (C-API headers for the fast read path); meson/ninja/pyleri are auto-installed by pip.
  • Wheels/sdist: wheels cover CPython 3.10–3.14, and a source distribution is also published.

Why

Verified against the published v0.4.4 sdist: a clean uv pip install --no-binary extxyz builds from source, but it links a system PCRE2 (/opt/homebrew/opt/pcre2/...) — the sdist ships only subprojects/pcre2.wrap (a download pointer), so PCRE2 must be present or downloadable, while libcleri is genuinely bundled. The old wording ("requires the PCRE2 and libcleri libraries") blurred that distinction.

Docs-only.

🤖 Generated with Claude Code

State the build deps accurately now that the comment-line dispatcher landed and
3.14 wheels + an sdist are published:

- a C compiler only (Fortran fextxyz is optional/off by default);
- libcleri is bundled (submodule in the repo, vendored into the sdist) and
  always built from source — no longer an external dependency;
- PCRE2 is the one external native library: a system copy via pkg-config, else
  the build downloads+compiles it from the bundled meson wrap (needs network) —
  it is NOT vendored;
- NumPy is a build-time dep (C-API headers for the fast read path; falls back to
  ctypes without it); meson/ninja/pyleri are installed automatically by pip.

Also note wheels cover CPython 3.10-3.14 and that an sdist is published.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jameskermode
jameskermode merged commit c8c7058 into master Jun 17, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant