Augment tox with different installation methods via progressive enhancement.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
testing
tests
.coveragerc
.gitignore
.pre-commit-config.yaml
.travis.yml
LICENSE
README.md
requirements-dev.txt
setup.cfg
setup.py
tox.ini
tox_pip_extensions.py

README.md

Build Status Coverage Status

tox-pip-extensions

Augment tox with different installation methods via progressive enhancement.

Installation

pip install tox-pip-extensions

Supported extensions

venv-update (pip-faster)

venv-update has the desirable behavior that it synchronizes the installed packages to the dependencies you ask for and uninstalls extraneous things quickly (without removing the virtualenv) -- you'll never need tox --recreate again!

To enable this enhancement, simply add:

[tox]
tox_pip_extensions_ext_venv_update = true

pip-custom-platform

pip-custom-platform is useful if you'd like to target other operating systems and maintain an internal pypi server containing precompiled wheels.

To enable this enhancement, simply add:

[tox]
tox_pip_extensions_ext_pip_custom_platform = true

pip-custom-platform + venv-update (pip-faster)

These extensions can be used together, simply add both:

[tox]
tox_pip_extensions_ext_venv_update = true
tox_pip_extensions_ext_pip_custom_platform = true

Bootstrap requirements

By default, tox-pip-extensions will intelligently choose what versions to install based on the plugins selected.

If you'd like to pin specific versions, tox-pip-extensions will defer to a file named requirements-bootstrap.txt in the same directory as tox.ini.