Skip to main content

Build a rust extension using PyO3 using tox

Project description

========
tox-pyo3
========

.. image:: https://img.shields.io/pypi/v/tox-pyo3.svg
:target: https://pypi-hypernode.com/project/tox-pyo3
:alt: PyPI version

.. image:: https://img.shields.io/pypi/pyversions/tox-pyo3.svg
:target: https://pypi-hypernode.com/project/tox-pyo3
:alt: Python versions

.. image:: https://travis-ci.org/thedrow/tox-pyo3.svg?branch=master
:target: https://travis-ci.org/thedrow/tox-pyo3
:alt: See Build Status on Travis CI

.. image:: https://ci.appveyor.com/api/projects/status/github/thedrow/tox-pyo3?branch=master
:target: https://ci.appveyor.com/project/thedrow/tox-pyo3/branch/master
:alt: 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 pyo3-pack develop


Requirements
------------

* pyo3-pack 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.

Source Distribution

tox-pyo3-0.1.5.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

tox_pyo3-0.1.5-py2.py3-none-any.whl (4.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file tox-pyo3-0.1.5.tar.gz.

File metadata

  • Download URL: tox-pyo3-0.1.5.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.7.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for tox-pyo3-0.1.5.tar.gz
Algorithm Hash digest
SHA256 254a2b27de08382d41662b7fa67c0ca2f6187d3bc7d646e768f5c1426ccb1c8a
MD5 afecaf9b5bbfc4b234b26b3d6e521f22
BLAKE2b-256 879cc0f5c8a3e97f9fba81edbd78ce390907a64f88dd2b6904e1f8f11b8cfdfc

See more details on using hashes here.

File details

Details for the file tox_pyo3-0.1.5-py2.py3-none-any.whl.

File metadata

  • Download URL: tox_pyo3-0.1.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.7.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for tox_pyo3-0.1.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 eccaff1fbfbbd73031d60310e01cc48be27a83633088142f3ed523ceeb1e0b68
MD5 68c46dd9c371fe50cbaa07ea73eacde7
BLAKE2b-256 66b3f3d6365d29a49e4cb70811e18067736b84378c699b09e12c8c5589d19dfd

See more details on using hashes here.

Supported by

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