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.

Source Distribution

tox-pyo3-1.0.0.tar.gz (4.1 kB view hashes)

Uploaded source

Built Distribution

tox_pyo3-1.0.0-py2.py3-none-any.whl (4.1 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page