9 lines
173 B
Plaintext
9 lines
173 B
Plaintext
|
#!/bin/bash
|
||
|
for file in `ls *.py | cut -d '.' -f 1`
|
||
|
do
|
||
|
echo $file
|
||
|
cython $file.py
|
||
|
gcc -c -fPIC -O3 -I/usr/include/python2.6 $file.c
|
||
|
gcc -shared $file.o -o $file.so
|
||
|
done
|