Skip to content

Commit c801923

Browse files
committed
Add instructions for installing snap-python.
1 parent 15a5682 commit c801923

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ snap-python
88
git clone [email protected]:snap-stanford/snap-python.git
99
git clone [email protected]:snap-stanford/snap.git
1010

11-
2. Then, run `make` from the top-level of `snap-python`. This will make the SNAP code into a Python module, using SWIG. Finally, it will run some Python tests in the `test` directory.
11+
2. Then, run `make` from the top-level of `snap-python`. This will make the SNAP code into a Python module, using SWIG and run some Python tests in the `test` directory. Finally, it installs SNAP in Python's user libraries directory.
1212

1313
cd snap-python
1414
make
15+
cd swig
16+
python setup.py install --user
1517

1618
From a Python interpreter, you should be able to import `snap` module:
1719

0 commit comments

Comments
 (0)