From 7e48d6e5b7a203021d8ebd1f48e50c5b34644b5b Mon Sep 17 00:00:00 2001 From: Alexander Pitchford Date: Thu, 18 Oct 2018 17:54:21 +0100 Subject: [PATCH] ext sources changed to pyx --- setup.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index ab7e85a0..cedca1ff 100644 --- a/setup.py +++ b/setup.py @@ -84,28 +84,28 @@ try: import numpy as np ext_mods = [Extension(name='GPy.kern.src.stationary_cython', - sources=['GPy/kern/src/stationary_cython.c', + sources=['GPy/kern/src/stationary_cython.pyx', 'GPy/kern/src/stationary_utils.c'], include_dirs=[np.get_include(), '.'], extra_compile_args=compile_flags, extra_link_args=link_args), Extension(name='GPy.util.choleskies_cython', - sources=['GPy/util/choleskies_cython.c'], + sources=['GPy/util/choleskies_cython.pyx'], include_dirs=[np.get_include(), '.'], extra_link_args=link_args, extra_compile_args=compile_flags), Extension(name='GPy.util.linalg_cython', - sources=['GPy/util/linalg_cython.c'], + sources=['GPy/util/linalg_cython.pyx'], include_dirs=[np.get_include(), '.'], extra_compile_args=compile_flags, extra_link_args=link_args), Extension(name='GPy.kern.src.coregionalize_cython', - sources=['GPy/kern/src/coregionalize_cython.c'], + sources=['GPy/kern/src/coregionalize_cython.pyx'], include_dirs=[np.get_include(), '.'], extra_compile_args=compile_flags, extra_link_args=link_args), Extension(name='GPy.models.state_space_cython', - sources=['GPy/models/state_space_cython.c'], + sources=['GPy/models/state_space_cython.pyx'], include_dirs=[np.get_include(), '.'], extra_compile_args=compile_flags, extra_link_args=link_args)]