Skip to content

Commit c5da2c8

Browse files
committed
Updated README with instructions to initialize gitmodules
1 parent aa210d4 commit c5da2c8

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ Please see the [blog post that accompanies this repository](http://www.benjack.i
1515

1616
To build and install `python_cpp_example`, clone or download this repository and then, from within the repository, run:
1717

18+
```bash
19+
git submodule update --init --recursive
20+
```
21+
22+
and then
23+
24+
1825
```bash
1926
python3 ./setup.py install
2027
```
@@ -25,6 +32,12 @@ or
2532
pip3 install .
2633
```
2734

35+
In case you're only interested in building/testing things from whitin the same directory, you could run:
36+
37+
```bash
38+
python3 ./setup.py build
39+
```
40+
2841
# Tests
2942

3043
To execute all unit tests, run the following command:
@@ -41,4 +54,4 @@ python3 ./setup.py test
4154

4255
# Acknowledgements
4356

44-
Much of the code in this repository was adapted from the [`pybind11` tutorial](http://pybind11.readthedocs.io/en/stable/basics.html) and the [`pybind11` example CMake repository](https://github.com/pybind/cmake_example).
57+
Much of the code in this repository was adapted from the [`pybind11` tutorial](http://pybind11.readthedocs.io/en/stable/basics.html) and the [`pybind11` example CMake repository](https://github.com/pybind/cmake_example).

0 commit comments

Comments
 (0)