-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathMakefile
37 lines (29 loc) · 864 Bytes
/
Makefile
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
help:
@echo "Supported targets:"
@echo " doc (render Doxygen)"
@echo " clean (delete artifacts)"
@echo " cloc (count SLOC)"
.PHONY: doc docs clean cloc
cloc:
@cloc --include-lang=Python .
doc docs:
@echo "Rendering Doxygen..."
@mkdir -p doxygen
@doxygen 1>doxygen.out 2>doxygen.err
#@cat doxygen.out
@cat doxygen.err
clean:
@rm -rf doxygen \
doxygen.out \
doxygen.err
@find . -name \*.pyc -exec rm {} \;
################################################################################
# The following are provided as convenience / documentation for people not
# familiar with building or publishing PyPi packages.
################################################################################
pip-install-local:
pip install $$PWD
publish-test:
flit publish --repository testpypi
publish:
flit publish