1
.PHONY: clean-pyc clean-build docs clean
4
@echo "clean - remove all build, test, coverage and Python artifacts"
5
@echo "clean-build - remove build artifacts"
6
@echo "clean-pyc - remove Python file artifacts"
7
@echo "clean-test - remove test and coverage artifacts"
8
@echo "lint - check style with flake8"
9
@echo "test - run tests quickly with the default Python"
10
@echo "test-all - run tests on every Python version with tox"
11
@echo "coverage - check code coverage quickly with the default Python"
12
@echo "docs - generate Sphinx HTML documentation, including API docs"
13
@echo "release - package and upload a release"
14
@echo "dist - package"
15
@echo "install - install the package to the active Python's site-packages"
17
clean: clean-build clean-pyc clean-test
23
find . -name '*.egg-info' -exec rm -fr {} +
24
find . -name '*.egg' -exec rm -f {} +
27
find . -name '*.pyc' -exec rm -f {} +
28
find . -name '*.pyo' -exec rm -f {} +
29
find . -name '*~' -exec rm -f {} +
30
find . -name '__pycache__' -exec rm -fr {} +
47
coverage run --source rlp setup.py test
50
open htmlcov/index.html
54
rm -f docs/modules.rst
55
sphinx-apidoc -o docs/ rlp
58
open docs/_build/html/index.html
61
python setup.py sdist upload
62
python setup.py bdist_wheel upload
66
python setup.py bdist_wheel
70
python setup.py install