summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-11-17 23:32:01 -0500
committerNed Batchelder <ned@nedbatchelder.com>2012-11-17 23:32:01 -0500
commit2fe6712b7c2a1e89b6465edc64089be2b14dd1cf (patch)
tree95593b3cc6555bef8fb97de314d6448a885b0f53
parent13bf18961fdcb2c83975cec3d61854517d9d7240 (diff)
downloadpython-coveragepy-2fe6712b7c2a1e89b6465edc64089be2b14dd1cf.tar.gz
Add tests and docs to the kit, though they are not installed. #137
-rw-r--r--CHANGES.txt3
-rw-r--r--MANIFEST.in6
-rw-r--r--Makefile4
-rw-r--r--lab/branches.py (renamed from doc/branches.py)0
-rw-r--r--switchpy.cmd14
5 files changed, 10 insertions, 17 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 9527478..e129a91 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -37,6 +37,8 @@ Version 3.6b1
Distribute. You must have one of them installed first, as `issue 202`
recommended.
+- The coverage.py kit now includes docs (closing `issue 137`) and tests.
+
- On Windows, files are now reported in their correct case, fixing `issue 89`_
and `issue 203`_.
@@ -63,6 +65,7 @@ Version 3.6b1
.. _issue 89: https://bitbucket.org/ned/coveragepy/issue/89/on-windows-all-packages-are-reported-in
.. _issue 111: https://bitbucket.org/ned/coveragepy/issue/111/when-installing-coverage-with-pip-not
+.. _issue 137: https://bitbucket.org/ned/coveragepy/issue/137/provide-docs-with-source-distribution
.. _issue 139: https://bitbucket.org/ned/coveragepy/issue/139/easy-check-for-a-certain-coverage-in-tests
.. _issue 143: https://bitbucket.org/ned/coveragepy/issue/143/omit-doesnt-seem-to-work-in-coverage
.. _issue 153: https://bitbucket.org/ned/coveragepy/issue/153/non-existent-filename-triggers
diff --git a/MANIFEST.in b/MANIFEST.in
index 7bb26ac..0150d90 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -7,6 +7,10 @@ include setup.py
include README.txt
include CHANGES.txt
include AUTHORS.txt
+include requirements.txt
+include igor.py
+include tox.ini
-prune test
+recursive-include test *
+recursive-include doc *.rst
global-exclude *.pyc
diff --git a/Makefile b/Makefile
index 3e92186..2c87f00 100644
--- a/Makefile
+++ b/Makefile
@@ -22,10 +22,10 @@ clean:
-rm -f $(TEST_ZIP)
-rm -rf test/eggsrc/build test/eggsrc/dist test/eggsrc/*.egg-info
-rm -f setuptools-*.egg distribute-*.egg distribute-*.tar.gz
- -rm -rf doc/_build/*
+ -rm -rf doc/_build
sterile: clean
- -rm -rf .tox .tox_kits
+ -rm -rf .tox*
LINTABLE = coverage setup.py test
diff --git a/doc/branches.py b/lab/branches.py
index 1fa705f..1fa705f 100644
--- a/doc/branches.py
+++ b/lab/branches.py
diff --git a/switchpy.cmd b/switchpy.cmd
deleted file mode 100644
index 089df2a..0000000
--- a/switchpy.cmd
+++ /dev/null
@@ -1,14 +0,0 @@
-@echo off
-set PATH=.;%HOME%\bin
-set PATH=%PATH%;c:\windows\system32;c:\windows
-set PATH=%PATH%;%1\scripts;%1
-set PATH=%PATH%;C:\Program Files\Mercurial\bin
-set PATH=%PATH%;c:\cygwin\bin
-set PATH=%PATH%;c:\app\MinGW\bin
-set PYTHONPATH=;c:\ned\py
-set PYHOME=%1
-rem title Py %1
-if "%2"=="quiet" goto done
-python -c "import sys; print ('\n=== Python %%s %%s' %% (sys.version.split()[0], '='*80))"
-
-:done