forked from BorgwardtLab/GraphKernels
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (30 loc) · 733 Bytes
/
Copy pathMakefile
File metadata and controls
42 lines (30 loc) · 733 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
NAME=graphkernels
PIP=pip3
PYTHON=python3
SETUP=setup.py
.PHONY: all bdist_wheel build build_ext check clean dist distclean install installcheck uninstall
all: build
bdist_wheel: build_ext
$(PYTHON) $(SETUP) bdist_wheel
build_ext:
$(PYTHON) $(SETUP) build_ext
build: build_ext
$(PYTHON) $(SETUP) build
check:
black setup.py $(NAME) Tutorial
check-manifest
cpplint --recursive $(NAME)/cppkernels
pylint setup.py $(NAME) Tutorial
pyroma -n 10 .
clean:
git clean -xfd
dist:
$(PYTHON) $(SETUP) sdist
distclean: clean
install: build
$(PYTHON) $(SETUP) install --user
installcheck:
@ cd ./Tutorial && $(PYTHON) demo_grid_search.py
@ cd ./Tutorial && $(PYTHON) demo_mutag.py
uninstall:
$(PIP) uninstall -y $(NAME)