forked from hmmlearn/hmmlearn
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (24 loc) · 715 Bytes
/
Makefile
File metadata and controls
35 lines (24 loc) · 715 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
35
# simple makefile to simplify repetetive build env management tasks under posix
# caution: testing won't work on windows, see README
PYTHON ?= python
CYTHON ?= cython
PYTEST ?= py.test
all: clean inplace test
clean:
$(PYTHON) setup.py clean
rm -rf dist
inplace:
$(PYTHON) setup.py build_ext -i
test: inplace
$(PYTEST) -s -v --durations=10 --doctest-modules hmmlearn
trailing-spaces:
find hmmlearn -name "*.py" | xargs perl -pi -e 's/[ \t]*$$//'
cython:
find hmmlearn -name "*.pyx" | xargs $(CYTHON)
doc: inplace
$(MAKE) -C doc html
doc-noplot: inplace
$(MAKE) -C doc html-noplot
code-analysis:
flake8 hmmlearn | grep -v __init__ | grep -v external
pylint -E -i y hmmlearn/ -d E1103,E0611,E1101