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