clif

This directory contains various examples on how to use PyCLIF to wrap typical code. Detailed explanations are given in The Python CLIF Primer.

Some examples depend on each other, so we create a virtualenv to install resulting Python extension modules.

To build all examples run:

# Modify python executable based on location of pyclif.
cmake -DPYTHON_EXECUTABLE=clif-venv/bin/python .

# Compile all CLIF files
make

clif-venv/bin/pip install .