import numpy
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext

# To compile, run:
#
#       python setup.py build_ext --inplace

include_dirs = [numpy.get_include()]

ext_modules = [
    Extension('adapters_cython', ['adapters_cython.pyx'], include_dirs=include_dirs),
    Extension('contaminants_cython', ['contaminants_cython.pyx'], include_dirs=include_dirs)]

setup(name='cython stuff',
      cmdclass={'build_ext': build_ext},
      ext_modules=ext_modules)
