You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,24 @@ cmake --build build
48
48
cmake --install build
49
49
```
50
50
51
+
## Installation via Pybind11
52
+
If you want to use the library from Python, you can build the Python bindings using [pybind11](https://github.com/pybind/pybind11). Make sure you have Python and pybind11 installed:
53
+
```shell
54
+
pip install pybind11
55
+
```
56
+
57
+
Then, the installation is automatic via `pip`:
58
+
```shell
59
+
pip install .
60
+
```
61
+
62
+
After installation, you should be able to import the module in Python:
63
+
```python
64
+
import dsf
65
+
```
66
+
67
+
If you encounter issues, ensure that the installation path is in your `PYTHONPATH` environment variable.
68
+
51
69
## Testing
52
70
This project uses [Doctest](https://github.com/doctest/doctest) for testing.
0 commit comments