forked from pydicom/pydicom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (26 loc) · 774 Bytes
/
Makefile
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
34
# simple makefile to simplify repetitive build env management tasks under posix
# caution: testing won't work on windows
test-code:
py.test tests
test-doc:
pytest doc/*.rst
test-coverage:
rm -rf coverage .coverage
py.test tests --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:
flake8 pydicom | grep -v __init__ | grep -v external
pylint -E -i y pydicom/ -d E1103,E0611,E1101