added cython exension

This commit is contained in:
Mario Fink
2020-02-17 13:10:52 +00:00
parent 46044ec969
commit a08fab03ba
9 changed files with 156 additions and 8 deletions

View File

@@ -29,7 +29,18 @@ else
@exit 1
endif
# deinstall
deinstall :
# uninstall
uninstall :
rm /usr/local/bin/$(EXE)
# build python module
build : setup.py raw_eater.pyx raw_eater.pxd $(SRC)raweat.hpp
python3 setup.py build_ext --inplace
install_py : setup.py raw_eater.pyx raw_eater.pxd $(SRC)raweat.hpp
python3 setup.py install
clean_py :
rm -f raw_eater.cpython-36m-x86_64-linux-gnu.so
rm -f raw_eater.cpp