pybuilder

Software build automation tool for Python.

1735
250
Python

PyBuilder — an easy-to-use build automation tool for Python

Follow PyBuilder on Twitter
Gitter
Build Status
Coverage Status

PyBuilder Version
PyBuilder Python Versions
PyBuilder Downloads Per Day
PyBuilder Downloads Per Week
PyBuilder Downloads Per Month

PyBuilder is a software build tool written in 100% pure Python, mainly
targeting Python applications.

PyBuilder is based on the concept of dependency based programming, but it also
comes with a powerful plugin mechanism, allowing the construction of build life
cycles similar to those known from other famous (Java) build tools.

PyBuilder is running on the following versions of Python 3.8, 3.9, 3.10, 3.11, 3.12 and PyPy 3.8 and 3.9.

See the GitHub Actions Workflow for version specific output.

Installing

PyBuilder is available using pip:

$ pip install pybuilder

For development builds use:

$ pip install --pre pybuilder

See the PyPI for more information.

Getting started

PyBuilder emphasizes simplicity. If you want to build a pure Python project and
use the recommended directory layout, all you have to do is create a file
build.py with the following content:

from pybuilder.core import use_plugin

use_plugin("python.core")
use_plugin("python.unittest")
use_plugin("python.coverage")
use_plugin("python.distutils")

default_task = "publish"

See the PyBuilder homepage for more details and
a list of plugins.

Release Notes

The release notes can be found here.
There will also be a git tag with each release. Please note that we do not currently promote tags to GitHub “releases”.

Development

See Developing PyBuilder