Skip to main content

debian package installer tox plugin

Project description


Build Status is a tox plugin which extracts Debian packages into the tox managed virtual environment.


Hook dependency

The plugin implements the tox_testenv_install_deps pluggy hook,

External dependency

The plugin uses the apt-get, dpkg and cp tools.

Test dependency

tox_DEBIAN, like tox, uses py.test for test automatization.


The debian dependencies has to be listed in the testenv section as debian_deps multi line option.

debian_deps =

Extra options can be defined for apt-get with the apt_opts option:

debian_deps =


Install tox

pip install tox

tox uses RequirementParseError from pkg_resources, therefore setuptools might need to be upgraded:

pip install --upgrade setuptools

Install tox_DEBIAN

pip install tox_DEBIAN


Local tox_DEBIAN install

git clone
pip install -e tox-debian-plugin

Install py.test

pip install pytest

Test run

cd tox-debian-plugin
py.test tests

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tox-DEBIAN-0.3.linux-x86_64.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

tox_DEBIAN-0.3-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page