From a048012e87e61769174103a3d55dea771947b3d8 Mon Sep 17 00:00:00 2001 From: Talley Lambert Date: Mon, 27 Jul 2026 15:24:36 +0200 Subject: [PATCH] fix: _compile_tree to use depends_on for rtree.c instead of source_files --- src/spatial_graph/_rtree/rtree.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/spatial_graph/_rtree/rtree.py b/src/spatial_graph/_rtree/rtree.py index bbeda67..7bf280b 100644 --- a/src/spatial_graph/_rtree/rtree.py +++ b/src/spatial_graph/_rtree/rtree.py @@ -48,10 +48,8 @@ def _compile_tree( wrapper = _build_wrapper(cls, item_dtype, coord_dtype, dims) module = witty.compile_cython( wrapper, - source_files=[ - SRC_DIR / "src" / "rtree.c", - ], depends_on=[ + SRC_DIR / "src" / "rtree.c", SRC_DIR / "src" / "rtree.h", SRC_DIR / "src" / "config.h", ],