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

import numpy
try:
    numpy_include = numpy.get_include()
except AttributeError:
    numpy_include = numpy.get_numpy_include()


ext_modules = [Extension("pyqcprot", ["pyqcprot.pyx"],
                         include_dirs=[numpy_include],
                         extra_compile_args=["-O3","-ffast-math"])]

setup(
  name = 'Python qcprot module',
  cmdclass = {'build_ext': build_ext},
  ext_modules = ext_modules
)
