summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2010-02-22 20:33:30 -0500
committerNed Batchelder <ned@nedbatchelder.com>2010-02-22 20:33:30 -0500
commit24db18eeb864fb85862adbd71cdadaa532dadd2c (patch)
tree31c7bad90be5e8a3f3b7ae6054d55c502237f3a9
parent95b613a9202ec075e68ee0600a880dd8cba26d6c (diff)
downloadpython-coveragepy-git-24db18eeb864fb85862adbd71cdadaa532dadd2c.tar.gz
Spaces
-rw-r--r--TODO.txt2
-rw-r--r--coverage/control.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/TODO.txt b/TODO.txt
index 3bfcae2d..84096138 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -5,7 +5,7 @@ Coverage TODO
- Config file
+ A command switch to point to the rc file.
- Write docs
-
+
* Soon
- Ship the nose and py.test plugin.
diff --git a/coverage/control.py b/coverage/control.py
index a42d0835..b8b049e9 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -426,12 +426,12 @@ def process_startup():
There are two ways to configure your Python installation to invoke this
function when Python starts:
-
+
#. Create or append to sitecustomize.py to add these lines::
-
+
import coverage
coverage.process_startup()
-
+
#. Create a .pth file in your Python installation containing::
import coverage; coverage.process_startup()