Skip to content

Commit

Permalink
DEV delete old *.c and *.so files with rebuild-cython.sh for Darwin/OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Sutherland committed Oct 26, 2016
1 parent df2a091 commit 810ee7f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion etc/rebuild-cython.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 810ee7f

Please sign in to comment.