PyBuilder

PyBuilder is a software build automation tool written in pure Python mainly targeting Python ecosystem. It is based on the concept of dependency-based programming but also comes along with powerful plugin mechanism that allows the construction of build life-cycles similar to those known from other famous build tools like Apache Maven and Gradle.

PyBuilder runs on Python 2.7 to 3.8 and PyPy. Every commit is tested on CPython v2.7, 3.5, 3.6, 3.7, 3.8 and PyPy on Linux, OSX and Windows via Travis CI.

v0.11.x still supports Python 2.6, 3.3 and 3.4 but is no longer maintained.

PyBuilder is licensed under Apache 2.0 License and is hosted on github.com/pybuilder/pybuilder.

Follow PyBuilder on Twitter PyBuilder Gitter Room PyBuilder Travis Build Status PyBuilder Coveralls Build

PyBuilder Version PyBuilder Python Versions PyBuilder Daily Downloads PyBuilder Weekly Downloads PyBuilder Monthly Downloads


News

No Virtual Environments Feature in 0.12.9

Due to requests of Anaconda environment users PyBuilder version 0.12.9 introduced a --no-venvs option. This option turns off all Python virtual environment management implemented in 0.12.x for those users who prefer (or must) manager their own virtual environments.

Version 0.12.0 Released!

After many months of intense work, PyBuilder 0.12.0 has been released fixing most of the outstanding issues as well as introducing a number of breakthrough features for virtual environment management, unit testing and coverage.

New: Sublime Text 3 Plugin!

A Sublime Text 3 Plugin for PyBuilder is now available!


Get started


  #!/bin/sh

  pip install pybuilder

  # If you want the bleeding edge
  # (we release after every commit)
  # pip install --pre pybuilder

  pyb --start-project
  pyb publish

  

  git clone https://github.com/twentybn/GulpIO
  cd GulpIO
  python -m venv venv
  source venv/bin/activate
  pip install pybuilder

  # If you want the bleeding edge
  # (we release after every commit)
  # pip install --pre pybuilder

  pyb

  

Install PyBuilder

PyBuilder is available on PyPI
pip install pybuilder

We recommend using virtualenv. Please see the dedicated installation page.

Read the Tutorial

The tutorial shows you how to get started using PyBuilder for your Python project including unittests, coverage and distutils.

Tutorial »

Watch the Presentation