About
-----
This is a cython wrapper for libift.

Dependencies
------------
This wrapper requires libift, a library developed by Prof. Alexandre Falcão 
(http://www.ic.unicamp.br/~afalcao/). libift source code is not publicly available.

Alternatively, you can use the redistributable version of libift included in 
this folder, which is organized as follows:

libift_dist/
    include/
        Contains all ".h" files for libift and "svm.h"
    lib/
        Contains libift.a and libsvm.a

The redistributable version is currently available only for Linux (x86_64).

Building
--------
libift usually defines the environment variable NEWIFT_DIR, which is
also used by the installation script included in this folder to locate the library.

In case NEWIFT_DIR is not defined, the script automatically defaults to using 
"libift_dist".

To build this wrapper:
Include the path to "featured" in the python search path:
$ export PYTHONPATH=<path/to/featured>
Install cython and run:
$ python setup.py build_ext --inplace

License
-------
This software (wrapper) is licensed under the MIT license. libift is not under
the same license.

Known issues
------------

If cython is unable to find the include files, try prefixing the imports with a
".". For instance, "from iftFHeap cimport iftFHeap" would become from 
".iftFHeap cimport iftFHeap".