The missing PEP 517 build backend for C extensions.
Project description
The missing PEP 517 build backend for C extensions.
You know how to build your project. just-buildit knows how to package it. That's the whole deal.
The problem
Every existing Python build backend either wants to own your build system, assumes you're using setuptools extensions, or drags in a dependency tree bigger than your project. There's no option that just says:
"Here are your C files. Build them however you want. I'll ship the result."
just-buildit is that option.
Installation
pip install just-buildit
Quickstart
Flat layouts, nested packages, multiple extensions across subdirectories, mixed pure Python and C — whatever your build produces.
Zero config — a single C extension in src/mylib/:
[build-system]
requires = ["just-buildit"]
build-backend = "just_buildit"
[project]
name = "mylib"
version = "0.1.0"
Run pip install . and just-buildit finds src/mylib/, compiles every .c
file it contains, and ships the result.
Custom build command — Make, CMake, Meson, Bazel, or anything else:
[tool.just-buildit]
command = "make"
just-buildit sets environment variables, calls your command, and packages
everything written to $JUST_BUILDIT_OUTPUT_DIR.
Need a project scaffold? just-makeit generates a CMake-based C extension project pre-wired for just-buildit — see the examples.
CLI
uvx just-buildit inspect # dry-run: show config and what would be built
uvx just-buildit build # build wheel into dist/
uvx just-buildit sdist # build source distribution into dist/
Documentation
| Environment variables | What just-buildit sets before calling your command |
| Examples | Make, CMake, Meson, Bazel, mixed Python + C, nested packages |
| Configuration | Full config reference, wheel repair, editable installs |
| Contributing | Running tests, platform support, bootstrapping |
Requirements
- Python 3.11+
- A compiler (you already have one)
uvfor wheel repair (uvx auditwheel/uvx delocate-wheel/uvx delvewheel)
Authors
Matthew T. Hunter, Ph.D. and Claude Code
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file just_buildit-0.3.6-py3-none-any.whl.
File metadata
- Download URL: just_buildit-0.3.6-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c5d66e244e844b9afb07cba8fd0befc3a58e348f39bec5ec26f41a0fb8d4189
|
|
| MD5 |
0718158f439b377e90cfffa6a9505c85
|
|
| BLAKE2b-256 |
5f20f942096c031102b2214b6519dae9c8dbc0ae148438bb51cb9f79d312ea2e
|
Provenance
The following attestation bundles were made for just_buildit-0.3.6-py3-none-any.whl:
Publisher:
release.yml on just-buildit/just-buildit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
just_buildit-0.3.6-py3-none-any.whl -
Subject digest:
0c5d66e244e844b9afb07cba8fd0befc3a58e348f39bec5ec26f41a0fb8d4189 - Sigstore transparency entry: 1574510724
- Sigstore integration time:
-
Permalink:
just-buildit/just-buildit@c8244324d3103dac236f5561bea1f96f6c0311d9 -
Branch / Tag:
refs/tags/v0.3.6 - Owner: https://github.com/just-buildit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c8244324d3103dac236f5561bea1f96f6c0311d9 -
Trigger Event:
push
-
Statement type: