From 5ed2600d18cb9bec0790e0eaf8805040f0a404bd Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Sat, 29 Mar 2014 12:55:04 -0400 Subject: [PATCH] Make SCons rebuild Cython module after change to .pxd --- SConstruct | 1 + 1 file changed, 1 insertion(+) diff --git a/SConstruct b/SConstruct index 5cf4fcb..0f498eb 100644 --- a/SConstruct +++ b/SConstruct @@ -422,6 +422,7 @@ def compile_cython(target, source, env): cythonize([f.abspath for f in source]) env.Command('python/ember/_ember.cpp', ['python/ember/_ember.pyx'], compile_cython) +env.Depends('python/ember/_ember.cpp', 'python/ember/_ember.pxd') cyenv = env.Clone() # environment for compiling the Cython module cyenv.Prepend(CPPPATH='src', LIBPATH='build/core', LIBS=corelib)