Skip to content

Commit

Permalink
Installing as a package
Browse files Browse the repository at this point in the history
  • Loading branch information
amritagos committed Nov 9, 2023
1 parent 9eb4b77 commit 8fcc91b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,15 @@

## About
Library for home-grown neural networks

## Installation

Assuming you are using some kind of `conda` environment, here is how you can install `robbie` and use `robbielib` in `python`.

```bash
meson setup build --prefix $CONDA_PREFIX
meson compile -C build
meson install -C build
```

Now you can run import `robbielib` from anywhere if your conda environment is activated.
3 changes: 3 additions & 0 deletions examples/python/run.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from robbielib import add

print(add(1,6))

0 comments on commit 8fcc91b

Please sign in to comment.