Project MakefileΒΆ
Note
The commands below are presumed to be run relative to the project root
unless explicitly stated otherwise. ./ also refers to the project root.
To facilitate smooth development workflow, we provide a Makefile
defining a number of convenience commands.
cleanrunningclean-build(build artifact removal);clean-pyc(compilation artifact removal);clean-test(test and coverage artifact removal).
Specifically:
$ make clean $ make clean-build $ make clean-pyc $ make clean-test
lintchecking codebase compliance with PEP8 via flake8:$ make lint
testrunning py.test:$ make testtest-allrunning tox:$ make test-all
coveragerunning coverage:$ make coverage
docsgenerating project docs via Sphinx:$ make docs
servedocsserving docs live via watchdog:$ make servedocs
setup-releasepackaging and releasing the project to PyPI:$ make setup-release
setup-distbuilds source and wheel packages via setuptools:$ make setup-dist
setup-installinstalling the package to the current environment:$ make setup-install
installkeeping local environment dependencies in sync with those defined in./requirements*.txt:$ make install