-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
README: Updated install instructions
Also added stuff about how to run the tests
- Loading branch information
Showing
1 changed file
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,34 @@ | ||
# Graph_lib | ||
|
||
A library for directed and undirected networks and related graph algorithms. WIP. | ||
A library for directed and undirected networks and related graph algorithms. WIP. | ||
|
||
# Compilation and Running | ||
|
||
If you want to use [`micromamba`](https://mamba.readthedocs.io/en/latest/user_guide/micromamba.html) as the package manager, create and activate the environment. | ||
|
||
```bash | ||
micromamba create -f environment.yml | ||
micromamba activate seldonenv | ||
``` | ||
|
||
We use `meson` to compile and build Seldon. | ||
|
||
```bash | ||
meson setup build | ||
meson compile -C build | ||
``` | ||
|
||
To install `seldon` to your `conda` environment, run the following: | ||
|
||
```bash | ||
meson setup build --prefix $CONDA_PREFIX | ||
meson install -C build | ||
``` | ||
|
||
## Running Tests | ||
|
||
To run the tests, go into the build directory and run the following: | ||
|
||
```bash | ||
meson test | ||
``` |