For developers and advanced users - SpM-lab/irbasis GitHub Wiki

Building unit tests

You can build unit tests for C++ and Python using CMake.

First, you can configure your build using CMake as follows.

cmake \
    -DCMAKE_BUILD_TYPE=Debug \
    irbasis.src

irbasis.src is the source-file directory. Then, you can build and run all tests.

make
make test

For more details, refer to our configuration file for Travis CI.

How to build & upload a wheel to PyPI

A wheel can be built as in our configuration file for Travis CI.

Then, you can upload your wheel to PyPI.

twine upload --repository pypi irbasis-*-py2.py3-none-any.whl