1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-12-22 20:35:44 +01:00

better cleaning of the python part

This commit is contained in:
q-posev 2021-08-18 15:02:54 +03:00
parent 4ebd13b040
commit df91b9e7e5

View File

@ -187,13 +187,14 @@ cppcheck.out: $(trexio_h)
setup_py = $(srcdir)/python/setup.py
setup_cfg = $(srcdir)/python/setup.cfg
pytrexio_py = $(srcdir)/python/trexio/pytrexio.py
TEST_PY = $(srcdir)/python/test/test_full.py
trexio_api_py = $(srcdir)/python/trexio/trexio_api.py
TEST_PY = $(srcdir)/python/test/test_api.py
pytrexio_c = $(srcdir)/src/pytrexio_wrap.c
pytrexio_i = $(srcdir)/src/pytrexio.i
numpy_i = $(srcdir)/src/numpy.i
python-test: $(pytrexio_py) $(TEST_PY)
python-test: $(TEST_PY)
python3 $(TEST_PY)
$(RM) -r -- __pycache__
@ -216,10 +217,9 @@ $(numpy_i):
check-numpy:
cd tools && ./check_numpy_i.sh
CLEANFILES += src/pytrexio_wrap.c \
src/pytrexio.py \
python/trexio/pytrexio.py \
python/trexio/trexio.py \
CLEANFILES += $(pytrexio_c) \
$(pytrexio_py) \
$(trexio_api_py) \
python/src/*.c \
python/src/*.h