From 28bca7cbd747e019c935f9136e14c8da19fb95e7 Mon Sep 17 00:00:00 2001 From: Scott Sanderson Date: Fri, 2 Sep 2016 12:56:36 -0400 Subject: [PATCH] DEV: Find .c and .so files with regex. --- etc/rebuild-cython.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/rebuild-cython.sh b/etc/rebuild-cython.sh index 3cc531a3..8be2da78 100755 --- a/etc/rebuild-cython.sh +++ b/etc/rebuild-cython.sh @@ -1,3 +1,3 @@ #!/bin/bash -find zipline tests -name "*.so" | xargs rm || true +find zipline tests -regex '.*\.\(c\|so\)' -exec rm {} + python setup.py build_ext --inplace