1 .PHONY
: clean-pyc clean-build docs
clean
4 @echo
"clean-build - remove build artifacts"
5 @echo
"clean-pyc - remove Python file artifacts"
6 @echo
"lint - check style with flake8"
7 @echo
"test - run tests quickly with the default Python"
8 @echo
"test-all - run tests on every Python version with tox"
9 @echo
"coverage - check code coverage quickly with the default Python"
10 @echo
"docs - generate Sphinx HTML documentation, including API docs"
11 @echo
"release - package and upload a release"
12 @echo
"dist - package"
14 clean: clean-build clean-pyc
23 find .
-name
'*.pyc' -exec
rm -f
{} +
24 find .
-name
'*.pyo' -exec
rm -f
{} +
25 find .
-name
'*~' -exec
rm -f
{} +
28 flake8 cached_property.py tests
37 py.
test --cov cached_property
40 open htmlcov
/index.html
43 rm -f docs
/cached-property.rst
44 rm -f docs
/modules.rst
45 sphinx-apidoc
-o docs
/ cached-property
48 open docs
/_build
/html
/index.html
51 python setup.py sdist upload
52 python setup.py bdist_wheel upload
56 python setup.py bdist_wheel