Skip to content
Snippets Groups Projects
Commit 1da38370 authored by simply-nicky's avatar simply-nicky
Browse files

code clean-up

parent 3fe8cb60
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
This diff is collapsed.
def make_ext(modname, pyxfilename):
from distutils.extension import Extension
import numpy
import cython_gsl
from Cython.Build import cythonize
return Extension(name='dev', sources=["dev.pyx"], language="c",
extra_compile_args=['-fopenmp'],
extra_link_args=['-lomp'],
libraries=cython_gsl.get_libraries(),
library_dirs=[cython_gsl.get_library_dir(), '/usr/local/lib'],
include_dirs=[numpy.get_include(), cython_gsl.get_cython_include_dir()])
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment