To build package and install in "development" mode, execute the setup.py
using pip3
:
pip3 install -e .
To run unit tests, execute the helper script runtests
:
python3 -m runtests
If you have a text editor with a C/C++ language server installed (e.g., clangd)
you can wrap the pip3 install
command using
bear to automatically generate a
compile_commands.json
file:
bear -- pip3 install -e ./
Your C/C++ language server should automatically be able to read this to enable intelligent code navigation like go-to-definition, etc.