Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Build requirements files from requirements.

Project Description


Build requirements from to test your package against minimum, latest and development versions of your package dependencies. Particularly useful when combined with your CI systems build matrix.


Requirements-Builder is on PyPI so all you need is:

$ pip install requirements-builder

Or, if you have virtualenvwrapper installed:

$ mkvirtualenv requirements-builder
$ pip install requirements-builder


Running the test suite is as simple as:

$ ./


Version 0.2.6 (released 2017-07-13)

Bug fixes

  • Fixes fatal error if setup() is called under ‘if __name__ == “__main__”:’

Version 0.2.5 (released 2017-04-11)

Bug fixes

  • Fixes support of recursive requirements files.

Version 0.2.4 (released 2017-03-10)

Bug fixes

  • Fixes issue with upper version requirements being stripped from the output.

Version 0.2.3 (released 2017-03-09)

Bug fixes

  • Fixes the issue with conditions on extra_require not being taken into account.

Version 0.2.2 (released 2017-02-01)

Bug fixes

  • Fixes issue with properly building requirements for packages with version markers.


  • Adds YAPF auto-formatting configuration.

Version 0.2.1 (released 2017-01-23)

Bug fixes

  • Accepts non--e packages from devel file.
  • Sphinx 1.5+ drops support for Python 2.6 and 3.3.
  • Adds Python 3.6 support.
  • Makes --extras option accepting comma separated values as described in help. (#14)

Version 0.2.0 (released 2016-09-13)

New features

Bug fixes

  • Fixes problem when the command try to import the package its about to install in order to get the information like the version. E.g. Django does that.
  • Fixes problem when the command plays with __file__ to read, exec, or whatever.

Version 0.1.0 (released 2015-10-05)

  • Initial public release

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


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
(10.5 kB) Copy SHA256 Hash SHA256
Wheel py2.py3 Jul 13, 2017
(18.1 kB) Copy SHA256 Hash SHA256
Source None Jul 13, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate