Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Features

  • Runs maturin develop

Requirements

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

Installation

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

$ pip install tox-pyo3

Usage

  • 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

Example:

`ini [testenv] pyo3 = True `

Contributing

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.

License

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

Issues

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

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page