1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
# See README.rst for copyright and licensing details.
PYTHON=python
SOURCES=$(shell find extras -name "*.py")
check:
PYTHONPATH=$(PWD) $(PYTHON) -m testtools.run extras.tests.test_suite
TAGS: ${SOURCES}
ctags -e -R extras/
tags: ${SOURCES}
ctags -R extras/
clean:
rm -f TAGS tags
find extras -name "*.pyc" -exec rm '{}' \;
### Documentation ###
apidocs:
# pydoctor emits deprecation warnings under Ubuntu 10.10 LTS
PYTHONWARNINGS='ignore::DeprecationWarning' \
pydoctor --make-html --add-package extras \
--docformat=restructuredtext --project-name=extras \
--project-url=https://launchpad.net/extras
.PHONY: apidocs
.PHONY: check clean
|