Add instructions and test for running against pytest.
This commit is contained in:
parent
a650193eec
commit
4000c1a86a
|
@ -12,10 +12,13 @@ Insure the following dependencies are in place:
|
||||||
* Install using `rustup toolchain install nightly`
|
* Install using `rustup toolchain install nightly`
|
||||||
* Set default toolchain `rustup default nightly`
|
* Set default toolchain `rustup default nightly`
|
||||||
* Python 3 Development headers (python3-dev in Ubuntu)
|
* Python 3 Development headers (python3-dev in Ubuntu)
|
||||||
|
* pipenv `pip install --user pipenv`
|
||||||
|
|
||||||
## Running the Python example
|
## Running the Python example
|
||||||
|
|
||||||
1. Build the rust crate first: `cargo build`
|
1. Build the rust crate first: `cargo build`
|
||||||
|
1. Create the Python package with: `pyo3 develop`
|
||||||
|
1. Run the tests: `pytest test.py`
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue