From 579452ca4af0c8f508362597dae3116bb1be73e0 Mon Sep 17 00:00:00 2001 From: Xiao Cui Date: Mon, 22 Aug 2022 16:04:58 -0400 Subject: [PATCH] Update README with additional steps for python build --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 891efdb9..34f23ea7 100644 --- a/README.md +++ b/README.md @@ -26,9 +26,14 @@ EDIT3: See [Build.md](https://github.com/dblalock/bolt/blob/master/BUILD.md) for ```bash $ brew install swig # for wrapping C++; use apt-get, yum, etc, if not OS X - $ pip install numpy # bolt installation needs numpy already present $ git clone https://github.com/dblalock/bolt.git - $ cd bolt && python setup.py install + $ cd bolt && git submodule update --init # for kmc2 + $ $(which python3) -m venv venv + $ source venv/bin/activate + # Install dependencies + $ pip install -r requirements.txt # numpy, pytest etc + $ pip install ./third_party/kmc2 + $ python setup.py install $ pytest tests/ # optionally, run the tests ```