-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
44 lines (36 loc) · 723 Bytes
/
Makefile
File metadata and controls
44 lines (36 loc) · 723 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
36
37
38
39
40
41
42
43
44
export VENV := ./venv
.PHONY: install
install: python
.PHONY: python
python: venv
. $(VENV)/bin/activate && pip install -e .[dev]
venv:
test -d $(VENV) || python3 -m venv $(VENV)
. $(VENV)/bin/activate && pip install --upgrade pip setuptools wheel
.PHONY: test
test:
tox
.PHONY: docs
docs:
sphinx-build -b html docs/source/ docs/build/
.PHONY: clean
clean:
-mv *.log ./trsh/
-mv *.npz ./trsh/
-mv *.png ./trsh/
-mv *.tex ./trsh/
-mv *.aux ./trsh/
-mv *.dat ./trsh/
-mv *.eps ./trsh/
-mv *.pdf ./trsh/
-mv *.pgf ./trsh/
-mv *.vtp ./trsh/
.PHONY: docsclean
docsclean:
rm -rf docs/build/
.PHONY: distclean
distclean:
rm -rf $(VENV)/
rm -rf .tox/
rm -rf isct.egg-info/
rm -rf cov_html/