Developers’ corner¶
Build, documentation, unittests¶
Build the module inplace:
python setup.py build_ext --inplace
Generate the setup in subfolder dist
:
python setup.py sdist
Generate the documentation in folder dist/html
:
python -m sphinx -T -b html doc dist/html
Run the unit tests:
python -m unittest discover tests
Or:
python -m pytest
To check style:
python -m flake8 td3a_cpp tests examples
Setup¶
Building the module require C++ libraries (openmp). Instructions can be found in CI files: