From 708bbc5117f20bb99d5d89860ae4f8bd0f0b1f28 Mon Sep 17 00:00:00 2001 From: Mattia Montanari Date: Thu, 21 May 2020 17:20:33 +0100 Subject: [PATCH] Adjust to relative dir --- examples/cython/openGJK_cython.pyx | 4 ++-- examples/cython/setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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'], )