From 9e8c82cc143661d490eeb31d03dcd299ec1c9e7e Mon Sep 17 00:00:00 2001 From: Alok Shenoy Date: Fri, 12 Jul 2024 12:50:25 -0400 Subject: [PATCH] Updates README - A crucial step of copy the contents of data folder is missing. --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2727586..72de4a8 100644 --- a/README.md +++ b/README.md @@ -34,9 +34,10 @@ Compilation instructions are at: https://swami-h2020-eu.github.io/mcm/fortran.ht ### Python wrapper -* First, go to `src/swami` and compile the Fortran binary by running `./make_wrapper.sh` -* To create the package: `python3 setup.py sdist` -* To install: `pip3 install .`. This will install a Python package called `swami` +* First, copy contents of `data` into `src/swami` using `cp ./data/ ./src/swami/`. +* Then, go to `src/swami` and compile the Fortran binary by running `./make_wrapper.sh` +* To create the package: `python3 setup.py sdist`. This will create a new folder called `dist` in the root directory. +* To install, change back to the root mcm directory and run: `pip3 install ./dist/swami-1.0rc0.tar.gz`. This will install a Python package called `swami`. More detailed instructions at: https://swami-h2020-eu.github.io/mcm/python.html