Skip to main content

Build requirements files from setup.py requirements.

Project description

https://img.shields.io/travis/inveniosoftware/requirements-builder.svg https://img.shields.io/coveralls/inveniosoftware/requirements-builder.svg https://img.shields.io/github/tag/inveniosoftware/requirements-builder.svg https://img.shields.io/pypi/dm/requirements-builder.svg https://img.shields.io/github/license/inveniosoftware/requirements-builder.svg

About

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

Installation

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

Testing

Running the test suite is as simple as:

$ ./run-tests.sh

Changes

Version 0.3.0 (released 2018-05-17)

New features

  • Includes package extras in the generated result.

Bug fixes

  • Fixes ~= selector output by including the minimum version additionally to the X.* specifier.

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.

Improvements

  • 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 setup.py 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 setup.py command plays with __file__ to read, exec, or whatever.

Version 0.1.0 (released 2015-10-05)

  • Initial public 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
requirements_builder-0.3.0-py2.py3-none-any.whl (8.6 kB) Copy SHA256 hash SHA256 Wheel py2.py3 May 17, 2018
requirements-builder-0.3.0.tar.gz (18.8 kB) Copy SHA256 hash SHA256 Source None May 17, 2018

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 DigiCert DigiCert EV certificate StatusPage StatusPage Status page