Skip to main content

A nuitka plugin for tox

Project description

tox-nuitka Updates Python 3

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.


pip install tox-nuitka


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/ using Nuitka.

envlist = py27, py36, py37

nuitka = myapp/
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 =

Release notes

1.0.0 (date)

  • Feature

Project details

Download files

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

Files for tox-nuitka, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size tox_nuitka-0.0.1-py2.py3-none-any.whl (3.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size tox-nuitka-0.0.1.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page