/pybuilder

Continuous build tool for Python.

Primary LanguagePythonApache License 2.0Apache-2.0

Build Status Windows build status PyPI version Coverage Status Ready in backlog Open bugs

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: 2.6, 2.7, 3.3, 3.4 and PyPy.

See the Travis Build for version specific output.

Installing

PyBuilder is available using pip:

$ pip install pybuilder

See the Cheeseshop page 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.

Plugins

PyBuilder provides a lot of plugins out of the box that utilize tools and libraries commonly used in Python projects:

In addition, a few common plugins are provided:

External 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