debian package installer tox plugin
Project description
tox_DEBIAN
tox_DEBIAN.py is a tox plugin which extracts Debian packages
into the tox managed virtual environment.
Dependency
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.
Syntax
The debian dependencies has to be listed in the testenv section
as debian_deps multi line option.
[testenv]
debian_deps =
python3-ipaddr
python3-yaml
Extra options can be defined for apt-get with the apt_opts option:
[testenv]
apt_opts=
--allow-unauthenticated
debian_deps =
python3-ipaddr
python3-yaml
Install
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 git+https://github.com/balabit/tox-debian-plugin.git
Test
Local tox_DEBIAN install
git clone https://github.com/balabit/tox-debian-plugin.git
pip install -e tox-debian-plugin
Install py.test
pip install pytest
Test run
cd tox-debian-plugin
py.test tests
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
tox-DEBIAN-0.2.tar.gz
(3.1 kB
view details)
File details
Details for the file tox-DEBIAN-0.2.tar.gz.
File metadata
- Download URL: tox-DEBIAN-0.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.3rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86a3c8d0a36ba156a78e6398a7f5ddf9161c1726e32d10da2db75f708dbd27a5
|
|
| MD5 |
aa6e69015c749955a761a0e4d30db6a6
|
|
| BLAKE2b-256 |
36b6bf34958dec43935952bb6b4009eca8090148fb9de5728dc1553545e5379f
|