diff --git a/Makefile b/Makefile index 4b93e33..7706091 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ help: @echo "clean - remove all build, test, coverage and Python artifacts" @echo "clean-build - remove build artifacts" @echo "clean-pyc - remove Python file artifacts" + @echo "clean-starter-site - remove deploy directory from starter site" @echo "clean-test - remove test and coverage artifacts" @echo "lint - check style with flake8" @echo "test - run tests quickly with the default Python" @@ -14,7 +15,7 @@ help: @echo "release - package and upload a release" @echo "dist - package" -clean: clean-build clean-pyc clean-test +clean: clean-build clean-pyc clean-starter-site clean-test clean-build: rm -fr build/ @@ -27,12 +28,15 @@ clean-pyc: find . -name '*~' -exec rm -f {} + find . -name '__pycache__' -exec rm -fr {} + +clean-starter-site: + rm -fr logya/sites/starter/deploy/ + clean-test: rm -fr .tox/ rm -f .coverage rm -fr htmlcov/ -install: +install: clean python setup.py install uninstall: diff --git a/dev_requirements.txt b/dev_requirements.txt index b75ace6..a2cc43e 100644 --- a/dev_requirements.txt +++ b/dev_requirements.txt @@ -9,3 +9,4 @@ pep8==1.6.2 flake8==2.4.0 pyflakes==0.8.1 nose==1.3.6 +tox==1.9.2