Skip to main content

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](https://travis-ci.org/blue-yonder/devpi-builder.svg?branch=master)](https://travis-ci.org/blue-yonder/devpi-builder)
[![Coverage Status](https://coveralls.io/repos/blue-yonder/devpi-builder/badge.png?branch=master)](https://coveralls.io/r/blue-yonder/devpi-builder?branch=master)
[![Latest Version](https://pypip.in/version/devpi-builder/badge.svg)](https://pypi-hypernode.com/pypi/devpi-builder/)
[![Requirements Status](https://requires.io/github/blue-yonder/devpi-builder/requirements.png?branch=master)](https://requires.io/github/blue-yonder/devpi-builder/requirements/?branch=master)

Brando, the devpi-builder, takes a `requirements.txt` and incrementally fills a [devpi](http://doc.devpi.net/latest/) 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` using the following command:

$ devpi-builder requirements.txt opensource/Debian_7 opensource mypassword

Example of such a requirements.txt:

progressbar==0.2.2
progressbar==0.2.1
PyYAML==3.11

Commandline Usage
-----------------

usage: devpi-builder [-h] [--blacklist BLACKLIST]
requirements index user password

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

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.


Feaures & 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
* [ ] Can use separate indices for plain python packages and those with binary contents. Optionally only operates on one of the two.


License
-------

[New BSD](COPYING)

Project details


Download files

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

Source Distribution

devpi-builder-0.2.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

devpi_builder-0.2.1-py2-none-any.whl (8.4 kB view details)

Uploaded Python 2

File details

Details for the file devpi-builder-0.2.1.tar.gz.

File metadata

File hashes

Hashes for devpi-builder-0.2.1.tar.gz
Algorithm Hash digest
SHA256 7ada4264e3eed85311ec921532ad546b3440a76f1b9f536e546cf5a735589b2a
MD5 ab246dc2887418ebf7db07a52dacf7c8
BLAKE2b-256 5f35f63e4ae3777c80c777b359926acfdf2bbad2470d6256787876f5b0c82767

See more details on using hashes here.

File details

Details for the file devpi_builder-0.2.1-py2-none-any.whl.

File metadata

File hashes

Hashes for devpi_builder-0.2.1-py2-none-any.whl
Algorithm Hash digest
SHA256 97ab79325b0a5e09b603d38417a1a1124949253566012d5e27c8ca94d596f03e
MD5 76cb0e769f92ecae3e674a6c3033b193
BLAKE2b-256 2d2c7c3d9627a83e9528134cd8aae888c320bcd59c06e00daa743ae74fc63015

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page