Skip to content

r1chardj0n3s/devpi-builder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brandon the Devpi Builder

Build Status Coverage Status Latest Version Requirements Status

Brando, 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 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

  • Read a requirements.txt stile input file.
  • Support multiple versions of a package in the same file
  • Only build packages not yet in the target index.
  • 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

About

Automatically build and upload python packages to devpi

Resources

License

Stars

Watchers

Forks

Packages

No packages published