Newer
Older
from distutils.core import Extension
import numpy
from Cython.Build import cythonize
import os
import sys
import Cython.Compiler.Options
Cython.Compiler.Options.annotate = True
return Extension(name='dev', sources=["dev.pyx", "pyrost/include/pocket_fft.c",
"pyrost/include/array.c",
"pyrost/include/routines.c"], language="c",
libraries=['gsl', 'gslcblas', 'fftw3', 'fftw3_omp'],
library_dirs=[os.path.join(sys.prefix, 'lib'),
'/usr/local/lib'],
include_dirs=[numpy.get_include(),
os.path.join(sys.prefix, 'include'),
os.path.join(os.path.dirname(__file__),
'pyrost/include')])