Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Devpi-builder takes a requirements.txt and incrementally fills a devpi index with wheels of the listed python packages.

Project description

Brandon the Devpi Builder
[![Build Status](](
[![Coverage Status](](
[![Latest Version](](
[![Requirements Status](](

Brandon, the devpi-builder, takes a `requirements.txt` and incrementally fills a [devpi]( index with wheels of the listed python packages.

Brandon by Example:

Given a `requirements.txt`, we can upload all listed packages to the index `opensource/Debian_7` on a local devpi using the following command:

$ devpi-builder requirements.txt http://localhost:3141/opensource/Debian_7 opensource mypassword

Example of such a requirements.txt:


Commandline Usage

usage: devpi-builder [-h] [--blacklist BLACKLIST] [--pure-index PURE_INDEX]
[--junit-xml JUNIT_XML]
requirements index user password

Create wheels for all given project versions and upload them to the given

positional arguments:
requirements requirements.txt style file specifying which project
versions to package.
index The index to upload the packaged software to.
user The user to log in as.
password Password of the user.

optional arguments:
-h, --help show this help message and exit
--blacklist BLACKLIST
Packages matched by this requirements.txt style file
will never be build.
--pure-index PURE_INDEX
The index to use for pure packages. Any non-pure
package will be uploaded to the index given as
positional argument. Packages already found in the pure
index will not be built, either.
--junit-xml JUNIT_XML
Write information about the build success / failure to
a JUnit-compatible XML file.

Features & Backlog

* [x] Read a `requirements.txt` stile input file.
* [x] Support multiple versions of a package in the same file
* [x] Only build packages not yet in the target index.
* [x] Support a black-list for packages to never be built and uploaded (certain packages like numpy are fragile regarding their interdependency with other packages).
* [ ] Support extras requirements of packages
* [x] Can use separate indices for plain python packages and those with binary contents.
* [x] Can log build results to a JUnit compatible XML file, thus that it can be parsed by Jenkins.


[New BSD](



- Use [devpi-plumber]( instead of
a custom devpi wrapper.
- Check the blacklist first when deciding whether to build a package.

v0.4.0 (Nov 13 2014)

- Only consider a package to exist if it is a wheel and it is compatible with
the current system. Thanks Michael Still and David Szotten
- Fix source distribution by adding missing
Thanks Mikhail Lukyanchenko

v0.3.0 (Aug 15 2014)

- support for special-case handling of pure python wheels
- optional support for report skipped packages in a JUnit-compatible XML
- Python 3 support

v0.2.1 (Aug 07 2014)

- fix crash if a build wheel could cannot be found
(because pip<=1.5.2 skipped it)

v0.2.0 (Aug 01 2014)

- support for package blacklisting to never build certain wheels
- build as many packages as possible. Do not stop if one fails.

v0.1.0 (Aug 01 2014)

- Initial release

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
devpi_builder-1.0.0-py2.py3-none-any.whl (10.0 kB) Copy SHA256 hash SHA256 Wheel 3.2
devpi-builder-1.0.0.tar.gz (14.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page