forked from scikit-learn-contrib/imbalanced-learn
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (24 loc) · 667 Bytes
/
Makefile
File metadata and controls
30 lines (24 loc) · 667 Bytes
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
.PHONY: all clean test
PYTHON=python
NOSETESTS=nosetests
all:
$(PYTHON) setup.py build_ext --inplace
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 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
test:
$(NOSETESTS) -s -v imblearn
coverage:
$(NOSETESTS) imblearn -s -v --with-coverage --cover-package=imblearn
html:
conda install -y sphinx sphinx_rtd_theme numpydoc
export SPHINXOPTS=-W; make -C doc html
conda:
conda-build conda-recipe