1 # See README for copyright and licensing details.
4 SOURCES
=$(shell find testtools
-name
"*.py")
7 PYTHONPATH
=$(PWD
) $(PYTHON
) -m testtools.run testtools.tests.test_suite
10 ctags
-e
-R testtools
/
17 find testtools
-name
"*.pyc" -exec
rm '{}' \
;
20 # An existing MANIFEST breaks distutils sometimes. Avoid that.
24 .
/setup.py sdist upload
--sign
25 $(PYTHON
) scripts
/_lp_release.py
33 # pydoctor emits deprecation warnings under Ubuntu 10.10 LTS
34 PYTHONWARNINGS
='ignore::DeprecationWarning' \
35 pydoctor
--make-html
--add-package testtools \
36 --docformat
=restructuredtext
--project-name
=testtools \
37 --project-url
=https
://launchpad.net
/testtools
40 ln
-s ..
/NEWS doc
/news.rst
42 docs
: doc
/news.rst docs-sphinx
45 docs-sphinx
: html-sphinx
47 # Clean out generated documentation
51 # Build the html docs using Sphinx.
55 .PHONY
: apidocs docs-sphinx clean-sphinx html-sphinx docs
56 .PHONY
: check clean prerelease release