-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
55 lines (42 loc) · 778 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
PKG=epipack
default:
make python
clean:
-rm -f *.o
make pyclean
clean_all:
make clean
make pyclean
pyclean:
-rm -f *.so
-rm -rf *.egg-info*
-rm -rf ./tmp/
-rm -rf ./build/
python:
pip install -e ../${PKG}
checkdocs:
python setup.py checkdocs
pypi:
mkdir -p dist
touch dist/foobar
rm dist/*
python setup.py sdist
twine check dist/*
upload:
twine upload dist/*
readme:
pandoc --from markdown_github --to rst README.md > _README.rst
sed -e "s/^\:\:/\.\. code\:\: bash/g" _README.rst > README.rst
rm _README.rst
rstcheck README.rst
cd docs; python make_about.py
test:
pytest --cov=${PKG} ${PKG}/tests/
authors:
python authorlist.py
grootinstall:
/opt/python36/bin/pip3.6 install --user ../${PKG}
groot:
git fetch
git pull
make grootinstall