pyo3/examples/pyo3-pytests
messense b5b9a480cd Add `wrap_pyfunction` macro to prelude 2021-06-24 22:34:55 +08:00
..
pyo3_pytests examples: maturin and setuptools_rust examples 2021-04-03 11:59:41 +01:00
src Add `wrap_pyfunction` macro to prelude 2021-06-24 22:34:55 +08:00
tests Add support for extracting PathBuf from pathlib.Path 2021-06-05 14:59:26 +08:00
Cargo.toml pyo3-build-config: new crate to re-use build.rs across crates 2021-05-20 09:03:33 +01:00
MANIFEST.in examples: maturin and setuptools_rust examples 2021-04-03 11:59:41 +01:00
README.md examples: maturin and setuptools_rust examples 2021-04-03 11:59:41 +01:00
build.rs pyo3-build-config: new crate to re-use build.rs across crates 2021-05-20 09:03:33 +01:00
pyproject.toml examples: maturin and setuptools_rust examples 2021-04-03 11:59:41 +01:00
requirements-dev.txt examples: use pip 21.1 2021-04-29 08:52:01 +01:00
tox.ini examples: use pip 21.1 2021-04-29 08:52:01 +01:00

README.md

pyo3-pytests

An extension module built using PyO3, used to test PyO3 from Python.

Testing

This package is intended to be built using maturin. Once built, you can run the tests using pytest:

pip install maturin
maturin develop
pytest

Alternatively, install tox and run the tests inside an isolated environment:

tox -e py