* Update pyo3 requirement from 0.7.0-alpha.1 to 0.8.0 Updates the requirements on [pyo3](https://github.com/pyo3/pyo3) to permit the latest version. - [Release notes](https://github.com/pyo3/pyo3/releases) - [Changelog](https://github.com/PyO3/pyo3/blob/master/CHANGELOG.md) - [Commits](https://github.com/pyo3/pyo3/compare/v0.7.0-alpha.1...v0.8.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Change into_object() -> into_py()
Python 3 extension for interface with Wasmtime/Cranelift.
Build
First, you'll need to install some Python dependencies:
$ pip3 install setuptools wheel==0.31.1 setuptools-rust
Next you can build the extension with:
rustup run nightly python3 setup.py build
Note that a nightly version of Rust is required due to our usage of PyO3.
This will create a directory called build/lib which you can add to
PYTHONPATH in order to get import wasmtime working.