Makefile - toot - Unnamed repository; edit this file 'description' to name the … | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
Makefile (470B) | |
--- | |
1 default : clean dist | |
2 | |
3 dist : | |
4 @echo "\nMaking source" | |
5 @echo "-------------" | |
6 @python setup.py sdist | |
7 | |
8 @echo "\nMaking wheel" | |
9 @echo "-------------" | |
10 @python setup.py bdist_wheel --universal | |
11 | |
12 @echo "\nDone." | |
13 | |
14 clean : | |
15 find . -name "*pyc" | xargs rm -rf $1 | |
16 rm -rf build dist MANIFEST htmlcov deb_dist toot*.tar.gz | |
17 | |
18 publish : | |
19 twine upload dist/* | |
20 | |
21 coverage: | |
22 py.test --cov=toot --cov-report html tests/ | |
23 | |
24 deb: | |
25 @python setup.py --command-packages=stdeb.command bdist_deb |