PyBuilder is a build automation tool for Python, offering a declarative approach to managing project builds, dependencies, testing, and packaging. Current version is 0.13.20 with a stable release cadence.
Install & Compatibility
Where this runs
tested against v0.13.20 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 45.2MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.2s · import 0.000s · 46MB
44MB installed
● package 44MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
from pybuilder import bootstrap
Minimal PyBuilder build.py script with init decorator to set project properties.
from pybuilder.core import use_plugin, init
@init
def set_properties(project):
project.set_property('name', 'myproject')
project.set_property('version', '1.0')
project.set_property('dir_source_main_python', 'src/main/python')
project.set_property('dir_source_unittest_python', 'src/unittest/python')
# Build script: save as build.py, then run: pyb
pyb --version
Upgrade
Version history
Breaking-change detection hasn't run for this library yet.
Audit
Security & dependencies
CVE tracking and dependency tree are planned for a later release.