diff --git a/examples/cython/openGJK_cython.pyx b/examples/cython/openGJK_cython.pyx index 4d9134c..a98f86f 100644 --- a/examples/cython/openGJK_cython.pyx +++ b/examples/cython/openGJK_cython.pyx @@ -1,7 +1,7 @@ #!python # cython: language_level=3 -# distutils: sources = src/openGJK.c -# distutils: include_dirs = include/openGJK +# distutils: sources = ../../src/openGJK.c +# distutils: include_dirs = ../../include/openGJK cimport openGJK_cython diff --git a/examples/cython/setup.py b/examples/cython/setup.py index 11be503..a5f738e 100644 --- a/examples/cython/setup.py +++ b/examples/cython/setup.py @@ -4,7 +4,7 @@ from Cython.Build import cythonize exts = Extension( "openGJK_cython", sources = ["openGJK_cython.pyx"], - extra_compile_args=['-Iinclude/','-fopenmp'], + extra_compile_args=['-I../../include/','-fopenmp'], extra_link_args=['-fopenmp'], )