summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-01-26 07:16:12 -0500
committerNed Batchelder <ned@nedbatchelder.com>2015-01-26 07:16:12 -0500
commit5cb08b5c0a9d4b22d6d2ae5995d180b53f029dd2 (patch)
tree05dcd9f38a08b695e84529706a67c9a8e50f6424
parentf6948e8da8283315c73de6c05fcbd55e21d5d8d3 (diff)
downloadpython-coveragepy-5cb08b5c0a9d4b22d6d2ae5995d180b53f029dd2.tar.gz
Bump the versions; docs now at readthedocs
-rw-r--r--coverage/cmdline.py5
-rw-r--r--coverage/version.py6
-rw-r--r--howto.txt1
-rw-r--r--setup.py4
4 files changed, 9 insertions, 7 deletions
diff --git a/coverage/cmdline.py b/coverage/cmdline.py
index 8c341e1..ff3de4c 100644
--- a/coverage/cmdline.py
+++ b/coverage/cmdline.py
@@ -644,7 +644,7 @@ Commands:
xml Create an XML report of coverage results.
Use "coverage help <command>" for detailed help on any command.
-For more information, see %(__url__)s
+For full documentation, see %(__url__)s
""",
# -------------------------
'minimum_help': """\
@@ -652,7 +652,8 @@ Code coverage for Python. Use 'coverage help' for help.
""",
# -------------------------
'version': """\
-Coverage.py, version %(__version__)s. %(__url__)s
+Coverage.py, version %(__version__)s.
+Documentation at %(__url__)s
""",
}
diff --git a/coverage/version.py b/coverage/version.py
index d1a4bea..304a54c 100644
--- a/coverage/version.py
+++ b/coverage/version.py
@@ -1,9 +1,9 @@
"""The version and URL for coverage.py"""
# This file is exec'ed in setup.py, don't import anything!
-__version__ = "4.0a4" # see detailed history in CHANGES.txt
+__version__ = "4.0a5" # see detailed history in CHANGES.txt
-__url__ = "http://nedbatchelder.com/code/coverage"
+__url__ = "https://coverage.readthedocs.org"
if max(__version__).isalpha():
# For pre-releases, use a version-specific URL.
- __url__ += "/" + __version__
+ __url__ += "/en/coverage-" + __version__
diff --git a/howto.txt b/howto.txt
index 247ffe2..308d234 100644
--- a/howto.txt
+++ b/howto.txt
@@ -52,6 +52,7 @@
- Update nedbatchelder.com
- Edit webfaction.htaccess to make sure the proper versions are mapped to /beta
- Blog post?
+- Update readthedocs
- Update bitbucket:
- Issue tracker should get new version number in picker.
# Note: don't delete old version numbers: it marks changes on the tickets
diff --git a/setup.py b/setup.py
index 4f2c49b..3760f9b 100644
--- a/setup.py
+++ b/setup.py
@@ -47,9 +47,9 @@ Topic :: Software Development :: Testing
import os, sys
from setuptools import setup
-from distutils.core import Extension # pylint: disable=no-name-in-module,import-error
+from distutils.core import Extension # pylint: disable=no-name-in-module,import-error
from distutils.command.build_ext import build_ext # pylint: disable=no-name-in-module, import-error
-from distutils import errors # pylint: disable=no-name-in-module
+from distutils import errors # pylint: disable=no-name-in-module
# Get or massage our metadata. We exec coverage/version.py so we can avoid
# importing the product code into setup.py.