Skip to main content

Minimum viable PEP 517 build backend for C extensions.

Project description

just-build

Minimum viable PEP 517 build backend for C extensions.

You know how to build your project. just-build 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-build is that option.


Quickstart

Got a single C extension in src/mylib/? No configuration needed:

[build-system]
requires = ["just-buildit"]
build-backend = "just_build"

[project]
name = "mylib"
version = "0.1.0"

Run pip install . and just-build finds src/mylib/, compiles every .c file it contains, and ships the result.

For anything more complex, point it at your build command:

[tool.just-build]
command = "make"

just-build sets environment variables, calls your command, packages everything written to $JUST_BUILD_OUTPUT_DIR, and ships the result.


Documentation

Environment variables What just-build sets before calling your command
Examples Makefile, CMake, Meson, mixed Python + C
Configuration Full config reference, wheel repair, editable installs
Contributing Running tests, platform support, bootstrapping

Requirements

  • Python 3.11+
  • A compiler (you already have one)
  • uv for wheel repair (uvx auditwheel / uvx delocate-wheel / uvx delvewheel)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

just_buildit-0.1.2-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file just_buildit-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: just_buildit-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for just_buildit-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8d8e0b59749e796467d66f1871ddd257edaeed723e3c1eda5fdf3a6941381c10
MD5 faa89331d38c034282a00219e114d25f
BLAKE2b-256 574493c870eccd5882ac63f0e67aebb078780a6f2c4ae38a665ac879c8b1f3ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for just_buildit-0.1.2-py3-none-any.whl:

Publisher: release.yml on just-buildit/just-build

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page