Build requirements files from setup.py requirements.
Project description
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
Adds an output option which is useful in the tox context where one cannot redirect the output to a file. See more at https://bitbucket.org/hpk42/tox/issues/73/pipe-output-of-command-into-file
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for requirements-builder-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d61febd8a0b6f7fc5321b6c39be9ddb1bff4786f5f8204c3d37763f9c7dc945 |
|
MD5 | 0284051f9f0ed5bafa6087ee294d360d |
|
BLAKE2b-256 | 8278bd52af0913d78ac003ca54ee3a37a551a71cf5298f3486ea2d4b65e14008 |
Hashes for requirements_builder-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d43239f698729f202dca19efd8342a2796fe09eb87a3b02fe6197f1af4626453 |
|
MD5 | c2139290cf55017e235a14d02dc6f91e |
|
BLAKE2b-256 | b36fb516ceeb4b67f724ba476d9a9a884bb6d3b3a78d95b0a59096188baeb361 |