tox-nuitka
A tox plugin to replace the default use of the CPython compiler with nuitka.
This plugin works by injecting Nuitka as a pip requirement to all test environments and then adding the Nuitka compile as a pre-test stage.
Installation
pip install tox-nuitka
Or,
pipenv install tox-nuitka
Executing tests
Each of the commands in your testenv configuration will be compiled by nuitka to execute within the pipenv virtual environment
Example tox.ini
This simple example will run pytest against your package but compile myapp/main.py using Nuitka.
[tox]
envlist = py27, py36, py37
[testenv]
nuitka = myapp/main.py
deps = pytest
commands = python -m pytest test/
Additional Nuitka configuration is available within the test environment settings.
Currently, the –module and –recurse-all flags are available like this:
nuitka_module = true
nuitka_recurse_all = true
Multiple compile targets can be provided
nuitka =
myapp/target1.py
myapp/target2.py
Release notes
1.0.0 (date)
Feature
Metadata
Release files for tox-nuitka 0.0.1
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 | |
|---|---|---|---|---|
| tox-nuitka-0.0.1.tar.gz | 5.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tox_nuitka-0.0.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 8.6 kB
Release files / tox-nuitka-0.0.1.tar.gz
| Download URL | tox-nuitka-0.0.1.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
247c7a21099d1472cd6473fccda7d0f435b02dd14926032214539b4076addfcd
|
|
BLAKE2b-256 checksum How to use checksums |
1b073c9a1099544dcd735d41754834a18adca890bd5b05df63a330f566a4cd0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6
|
Release files / tox_nuitka-0.0.1-py2.py3-none-any.whl
| Download URL | tox_nuitka-0.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
340fc308667ab7c94363ad7c6c7e7fd2ca8590d1eaa58873f48cdca9e9aa5204
|
|
BLAKE2b-256 checksum How to use checksums |
91705a61311c5ce9145cbb041deb3f61e7efdec8cc14aa8105367d990aed849c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6
|
Security for tox-nuitka 0.0.1
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.