mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
* Instructions for WASM/JS binding Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com> * Document Python, WASM/JS bindings Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com> --------- Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
23 lines
372 B
Markdown
23 lines
372 B
Markdown
- Install maturin
|
|
```
|
|
pipx install maturin
|
|
```
|
|
See [Maturin User Guide](https://www.maturin.rs)
|
|
|
|
- Build bindings for Python
|
|
```
|
|
cd bindings/python
|
|
maturin build --release --target-dir wheels
|
|
```
|
|
|
|
- Install python wheel
|
|
```
|
|
pip3 install ../../target/wheels/regorus*.whl --force-reinstall
|
|
```
|
|
|
|
- Run test script
|
|
```
|
|
python3 test.py
|
|
```
|
|
|