Installing from a GitHub Repo
To install directly from the source tree:
pip install --user .
To install in developer mode (RECOMMENDED for developers):
pip install --user -e .
Instead of copying the files, this will install a link to the source tree. As a result, all changes to the sources will be reflected in the installed library.
If the library is installed in developer mode, it is possible to re-build the C++ code, using:
This effectively runs:
To clean all generated build files:
To enable execution time measurements in custom ops, use:
./setup.py build --exec-time
Note that if previous build exists, it will not be rebuilt for the new build options unless
make clean is run.
To compile documentation:
This requires an existing installation of sphinx.
To watch the doc directory and rebuild the documentation when a change is detected:
To make a source package:
To make a wheel: