Skip to main content

Build a rust extension using PyO3 using tox.

Project description

PyPI version Python versions See Build Status on Travis CI See Build Status on AppVeyor

Build a rust extension using PyO3 using tox

An extremely basic plugin that builds Rust extensions within tox virtualenvs.


  • Runs maturin develop


  • maturin must be installed somewhere in your system
  • A rust compiler


You can install “tox-pyo3” via pip from PyPI:

$ pip install tox-pyo3


  • When you set pyo3=true in your testenv this plugin automatically detects if Cargo.toml is present and if so, it will compile the extension


`ini [testenv] pyo3 = True `


Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.


Distributed under the terms of the BSD-3 license, “tox-pyo3” is free and open source software


If you encounter any problems, please file an issue along with a detailed description.

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-pyo3, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size tox_pyo3-1.0.0-py2.py3-none-any.whl (4.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size tox-pyo3-1.0.0.tar.gz (4.1 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