summaryrefslogtreecommitdiff
path: root/candle-pyo3/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'candle-pyo3/README.md')
-rw-r--r--candle-pyo3/README.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/candle-pyo3/README.md b/candle-pyo3/README.md
index 1887f269..f716b092 100644
--- a/candle-pyo3/README.md
+++ b/candle-pyo3/README.md
@@ -1,5 +1,11 @@
-From the top level directory run:
+From the top level directory run the following for linux.
```
-cargo build --release --package candle-pyo3 && cp -f ./target/release/libcandle.so candle.so
+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
+
+ 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
```