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 tox_DEBIAN
Test
Local tox_DEBIAN install
git clone https://github.com/tpazderka/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
Metadata
Release files for tox-DEBIAN 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tox-DEBIAN-0.3.linux-x86_64.tar.gz | 4.6 kB | Without provenance | Details for tox-DEBIAN-0.3.linux-x86_64.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tox_DEBIAN-0.3-py3-none-any.whl | Python 3 | none | any | Details for tox_DEBIAN-0.3-py3-none-any.whl |
Total release size: 9.0 kB
Release files / tox-DEBIAN-0.3.linux-x86_64.tar.gz
| Download URL | tox-DEBIAN-0.3.linux-x86_64.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
32fdc643d1685681a8b7fe2373e01dc2f2117dd07fad9811ecdbed8f4f19040d
|
|
BLAKE2b-256 checksum How to use checksums |
dd7a688b73d4150b475766e2f5db6c41cf9d6bd4525930bad7df456ec89f93c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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.3
|
Release files / tox_DEBIAN-0.3-py3-none-any.whl
| Download URL | tox_DEBIAN-0.3-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4382de4f8fdff7206fca5f6d0456c822c7ff0e6c641afc52a3c6663e4b989261
|
|
BLAKE2b-256 checksum How to use checksums |
c3ef1cc875a3235e7d7dbb2fbe33ab4b58824f001676dd4c737cd1e80d3843c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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.3
|
Security for tox-DEBIAN 0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.