DEV delete old *.c and *.so files with rebuild-cython.sh for Darwin/OSX (#1560)

This commit is contained in:
Paul Sutherland
2016-10-26 15:08:36 -08:00
committed by Joe Jevnik
parent 82cbac85c2
commit 0fbf7b428b
+6 -1
View File
@@ -1,3 +1,8 @@
#!/bin/bash
find zipline tests -regex '.*\.\(c\|so\)' -exec rm {} +
if [[ "$OSTYPE" == "darwin"* ]]; then
find -E zipline tests -regex '.*\.(c|so)' -exec rm {} +
else
find zipline tests -regex '.*\.\(c\|so\)' -exec rm {} +
fi
python setup.py build_ext --inplace