@@ -34,7 +34,7 @@ Documentation is available over at [Luxonis DepthAI API](https://docs.luxonis.co
3434 python3 -m pip install -U pip
3535 python3 -m pip install -r docs/requirements.txt
3636 cmake -S . -B build -D DEPTHAI_BUILD_DOCS=ON -D DEPTHAI_PYTHON_BUILD_DOCS=ON
37- cmake --build build --parallel -- target sphinx
37+ cmake --build build --target sphinx --parallel
3838 python3 -m http.server --bind 0.0.0.0 8000 --directory build/docs/sphinx
3939 ```
4040
@@ -44,7 +44,7 @@ Documentation is available over at [Luxonis DepthAI API](https://docs.luxonis.co
4444 in a new terminal window to update the website source
4545
4646 ```
47- cmake --build build --parallel -- target sphinx
47+ cmake --build build --target sphinx --parallel
4848 ```
4949
5050 Then refresh your page - it should load the updated website that was just built
@@ -74,15 +74,22 @@ See: [depthai-core dependencies](https://github.com/luxonis/depthai-core#depende
7474To build a shared library from source perform the following:
7575```
7676mkdir build && cd build
77- cmake ..
77+ cmake .. [ -D PYTHON_EXECUTABLE=/full/path/to/python ]
7878cmake --build . --parallel
7979```
8080
81+ Where `-D PYTHON_EXECUTABLE` option can optionally specify an exact Python executable to use for building.
82+
8183To build a wheel, execute the following
8284```
8385python3 -m pip wheel . -w wheelhouse
8486```
8587
88+ To build and install using pip:
89+ ```
90+ python3 -m pip install .
91+ ```
92+
8693## Running tests
8794
8895To run the tests build the library with the following options
0 commit comments