1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
# simple makefile to simplify repetitive build env management tasks under posix
# caution: testing won't work on windows
test-code:
pytest pydicom
test-doc:
pytest doc/*.rst
test-coverage:
rm -rf coverage .coverage
pytest pydicom --cov-report term-missing --cov=pydicom
test: test-code test-doc
doc:
make -C doc html
clean:
find . -name "*.so" -o -name "*.pyc" -o -name "*.md5" -o -name "*.pyd" -o -name "*~" | xargs rm -f
find . -name "*.pyx" -exec ./tools/rm_pyx_c_file.sh {} \;
rm -rf .cache
rm -rf .coverage
rm -rf dist
rm -rf build
rm -rf doc/auto_examples
rm -rf doc/generated
rm -rf doc/modules
rm -rf examples/.ipynb_checkpoints
code-analysis:
ruff .
|