From c5da2c8e213feff22034ea23266cfa9f08db25a2 Mon Sep 17 00:00:00 2001 From: Alexis Pojomovsky Date: Mon, 12 Mar 2018 12:41:52 -0300 Subject: [PATCH] Updated README with instructions to initialize gitmodules --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a218666..829e998 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,13 @@ Please see the [blog post that accompanies this repository](http://www.benjack.i To build and install `python_cpp_example`, clone or download this repository and then, from within the repository, run: +```bash +git submodule update --init --recursive +``` + +and then + + ```bash python3 ./setup.py install ``` @@ -25,6 +32,12 @@ or pip3 install . ``` +In case you're only interested in building/testing things from whitin the same directory, you could run: + +```bash +python3 ./setup.py build +``` + # Tests To execute all unit tests, run the following command: @@ -41,4 +54,4 @@ python3 ./setup.py test # Acknowledgements -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). \ No newline at end of file +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).