1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-12-23 04:43:57 +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_py = $(srcdir)/python/setup.py
setup_cfg = $(srcdir)/python/setup.cfg setup_cfg = $(srcdir)/python/setup.cfg
pytrexio_py = $(srcdir)/python/trexio/pytrexio.py 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_c = $(srcdir)/src/pytrexio_wrap.c
pytrexio_i = $(srcdir)/src/pytrexio.i pytrexio_i = $(srcdir)/src/pytrexio.i
numpy_i = $(srcdir)/src/numpy.i numpy_i = $(srcdir)/src/numpy.i
python-test: $(pytrexio_py) $(TEST_PY) python-test: $(TEST_PY)
python3 $(TEST_PY) python3 $(TEST_PY)
$(RM) -r -- __pycache__ $(RM) -r -- __pycache__
@ -216,10 +217,9 @@ $(numpy_i):
check-numpy: check-numpy:
cd tools && ./check_numpy_i.sh cd tools && ./check_numpy_i.sh
CLEANFILES += src/pytrexio_wrap.c \ CLEANFILES += $(pytrexio_c) \
src/pytrexio.py \ $(pytrexio_py) \
python/trexio/pytrexio.py \ $(trexio_api_py) \
python/trexio/trexio.py \
python/src/*.c \ python/src/*.c \
python/src/*.h python/src/*.h