Skip to content

Commit

Permalink
Add help and packaging to Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
audreyfeldroy committed Aug 24, 2013
1 parent de3d786 commit cf1fb09
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
.PHONY: clean-pyc clean-build docs

help:
@echo "clean-build - remove build artifacts"
@echo "clean-pyc - remove Python file artifacts"
@echo "lint - check style with flake8"
@echo "test - run tests quickly with the default Python"
@echo "testall - run tests on every Python version with tox"
@echo "coverage - check code coverage quickly with the default Python"
@echo "docs - generate Sphinx HTML documentation, including API docs"
@echo "release - package and upload a release"
@echo "sdist - package"

clean: clean-build clean-pyc

clean-build:
Expand Down Expand Up @@ -34,3 +45,10 @@ docs:
$(MAKE) -C docs clean
$(MAKE) -C docs html
open docs/_build/html/index.html

release: clean
python setup.py sdist upload

sdist: clean
python setup.py sdist
ls -l dist

0 comments on commit cf1fb09

Please sign in to comment.