Changeset View
Changeset View
Standalone View
Standalone View
Makefile.python
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | |||||
lint: | lint: | ||||
$(LINT) $(LINTFLAGS) $(PYMODULE) | $(LINT) $(LINTFLAGS) $(PYMODULE) | ||||
.PHONY: docs | .PHONY: docs | ||||
docs: | docs: | ||||
make -C docs | make -C docs | ||||
.PHONY: distclean | .PHONY: distclean | ||||
# clean up Python bytecode files. Also consider random *.pyc files, in case | |||||
# Python 2.x has been run by mistake | # Clean up Python bytecode files and a bunch of Python tool caches. | ||||
distclean: | distclean: | ||||
find . -type d -name __pycache__ | xargs rm -rf | find . -type d -name __pycache__ | xargs rm -rf | ||||
find . -type f -name '*.pyc' -delete | find . -type f -name '*.pyc' -delete | ||||
rm -rf .tox/ .mypy_cache/ |