forked from astroML/astroML
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (23 loc) · 663 Bytes
/
Makefile
File metadata and controls
34 lines (23 loc) · 663 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
31
32
33
34
PYTHON ?= python
NOSETESTS ?= nosetests
SOURCES = Makefile setup.py README.rst astroML
VERSION = 0.2-git
all: build install test
build:
$(PYTHON) setup_addons.py build
install:
$(PYTHON) setup_addons.py install
clean:
$(PYTHON) setup.py clean
inplace:
$(PYTHON) setup.py build_ext -i
test-code: inplace
$(NOSETESTS) -s astroML
test-doc:
$(NOSETESTS) -s --with-doctest --doctest-tests --doctest-extension=rst \
--doctest-extension=inc --doctest-fixtures=_fixture doc/ doc/modules/
test-coverage:
rm -rf coverage .coverage
$(NOSETESTS) -s --with-coverage --cover-html --cover-html-dir=coverage \
--cover-package=sklearn astroML
test: test-code