complete cython interface, python example usage.py

This commit is contained in:
2021-01-26 13:21:54 +01:00
parent 52115139bb
commit 00528e9460
7 changed files with 145 additions and 6 deletions

View File

@@ -79,13 +79,14 @@ cython-list : cython/setup.py
cython-build : cython/setup.py cython/tdm_reaper.pxd cython/py_tdm_reaper.pyx $(HPP) lib/tdm_reaper.cpp
python3 $< build_ext --inplace
# python3 $< build_ext
cp -v tdm_reaper.cpython-*.so python/
cython-install : cython/setup.py cython/tdm_reaper.pyx cython/tdm_reaper.pyx
python3 $< install
clean-cython :
rm -vf cython/py_tdm_reaper.cpp tdm_reaper.cpython-*.so
rm -vf cython/py_tdm_reaper.cpp
rm -vf tdm_reaper.cpython-*.so python/tdm_reaper.cpython-*.so
rm -rf build
# --------------------------------------------------------------------------- #