Add Makefile

This commit is contained in:
Vinayak Mehta
2016-08-08 16:32:05 +05:30
committed by GitHub
parent 13568865b5
commit 814d7b6939
2 changed files with 23 additions and 0 deletions
+1
View File
@@ -5,3 +5,4 @@ __pycache__/
build/ build/
dist/ dist/
*.egg-info/ *.egg-info/
.coverage
+22
View File
@@ -0,0 +1,22 @@
PYTHON ?= python
NOSETESTS ?= nosetests
clean:
$(PYTHON) setup.py clean
rm -rf dist
dev:
$(PYTHON) setup.py develop
undev:
$(PYTHON) setup.py develop --uninstall
install:
$(PYTHON) setup.py install
test:
$(NOSETESTS) -s -v
test-coverage:
rm -rf coverage .coverage
$(NOSETESTS) -s -v --with-coverage