diff options
Diffstat (limited to 'candle-pyo3/README.md')
-rw-r--r-- | candle-pyo3/README.md | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/candle-pyo3/README.md b/candle-pyo3/README.md index f716b092..07dff468 100644 --- a/candle-pyo3/README.md +++ b/candle-pyo3/README.md @@ -1,11 +1,7 @@ -From the top level directory run the following for linux. -``` -cargo build --profile=release-with-debug --package candle-pyo3 && cp -f ./target/release-with-debug/libcandle.so candle.so -PYTHONPATH=. python3 candle-pyo3/test.py -```bash +From the `candle-pyo3` directory, enable a virtual env where you will want the +candle package to be installed then run. - Or for macOS users: ```bash -cargo build --profile=release-with-debug --package candle-pyo3 && cp -f ./target/release-with-debug/libcandle.dylib candle.so -PYTHONPATH=. python3 candle-pyo3/test.py +maturin develop +python test.py ``` |