You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Andrzej Pronobis edited this page May 5, 2017
·
9 revisions
Installing from a GitHub Repo
To install directly from the source tree:
pip install --user .
or, simply:
make install
To install in developer mode (RECOMMENDED for developers):
pip install --user -e .
or, simply:
make dev-install
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.
Building
If the library is installed in developer mode, it is possible to re-build the C++ code, using:
make build
This effectively runs:
./setup.py build
To clean all generated build files:
make clean
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.
Documentation
To compile documentation:
make doc
This requires an existing installation of sphinx.
To watch the doc directory and rebuild the documentation when a change is detected: