Release 0.0.2, removing Makefile cruft.

This commit is contained in:
Robert Collins 2012-12-13 21:32:30 +13:00
parent a21a427fc3
commit 7d5ea56d1f
3 changed files with 9 additions and 30 deletions

View File

@ -12,21 +12,10 @@ TAGS: ${SOURCES}
tags: ${SOURCES}
ctags -R extras/
clean: clean-sphinx
clean:
rm -f TAGS tags
find extras -name "*.pyc" -exec rm '{}' \;
prerelease:
# An existing MANIFEST breaks distutils sometimes. Avoid that.
-rm MANIFEST
release:
./setup.py sdist upload --sign
$(PYTHON) scripts/_lp_release.py
snapshot: prerelease
./setup.py sdist
### Documentation ###
apidocs:
@ -36,21 +25,6 @@ apidocs:
--docformat=restructuredtext --project-name=extras \
--project-url=https://launchpad.net/extras
doc/news.rst:
ln -s ../NEWS doc/news.rst
docs: doc/news.rst docs-sphinx
rm doc/news.rst
docs-sphinx: html-sphinx
# Clean out generated documentation
clean-sphinx:
cd doc && make clean
# Build the html docs using Sphinx.
html-sphinx:
cd doc && make html
.PHONY: apidocs docs-sphinx clean-sphinx html-sphinx docs
.PHONY: check clean prerelease release
.PHONY: apidocs
.PHONY: check clean

5
NEWS
View File

@ -6,6 +6,11 @@ Changes and improvements to extras_, grouped by release.
NEXT
~~~~
0.0.2
~~~~~
Fix Makefile to not have cruft leftover from testtools.
0.0.1
~~~~~

View File

@ -22,7 +22,7 @@ __all__ = [
# If the releaselevel is 'final', then the tarball will be major.minor.micro.
# Otherwise it is major.minor.micro~$(revno).
__version__ = (0, 0, 2, 'dev', 0)
__version__ = (0, 0, 2, 'final', 0)
def try_import(name, alternative=None, error_callback=None):