diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-17 09:53:31 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-17 09:53:31 -0500 |
| commit | 5fd16f1d8d886fdfeb687c307fcec5dda5adba77 (patch) | |
| tree | 2d93f241aef732c2d2eb8be793afac2f1bc9f05a /doc | |
| parent | 0cf4661becd020f93c76907b2d6ca3263b4065ae (diff) | |
| download | python-coveragepy-5fd16f1d8d886fdfeb687c307fcec5dda5adba77.tar.gz | |
No longer try to bootstrap setuptools. It is a pre-req. Closes #202
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/index.rst | 3 | ||||
| -rw-r--r-- | doc/install.rst | 11 |
2 files changed, 9 insertions, 5 deletions
diff --git a/doc/index.rst b/doc/index.rst index 6fc7a05..474e782 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -24,6 +24,7 @@ coverage.py :history: 20120429T162100, updated for 3.5.2b1 :history: 20120503T233800, updated for 3.5.2 :history: 20120929T093500, updated for 3.5.3 +:history: 20121117T094900, Change from easy_install to pip. Coverage.py is a tool for measuring code coverage of Python programs. It @@ -55,7 +56,7 @@ Quick start Getting started is easy: #. Install coverage.py from the `coverage page on the Python Package Index`_, - or by using "easy_install coverage". For a few more details, see + or by using "pip install coverage". For a few more details, see :ref:`install`. #. Use ``coverage run`` to run your program and gather data: diff --git a/doc/install.rst b/doc/install.rst index ffce72f..91021b1 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -13,13 +13,17 @@ Installation :history: 20120429T162500, updated for 3.5.2b1. :history: 20120503T234000, updated for 3.5.2. :history: 20120929T093600, updated for 3.5.3. +:history: 20121117T095000, Now setuptools is a pre-req. .. highlight:: console .. _coverage_pypi: http://pypi.python.org/pypi/coverage +.. _setuptools: http://pypi.python.org/pypi/setuptools +.. _Distribute: http://packages.python.org/distribute/ -Installing coverage.py is fairly standard: +Installing coverage.py is done in the usual ways. You must have `setuptools`_ +or `Distribute`_ installed already, and then you: #. Download the appropriate kit from the `coverage page on the Python Package Index`__. @@ -28,11 +32,11 @@ Installing coverage.py is fairly standard: or, use:: - $ easy_install coverage + $ pip install coverage or even:: - $ pip install coverage + $ easy_install coverage .. __: coverage_pypi_ @@ -55,7 +59,6 @@ installed as a pre-requisite, but otherwise are self-contained. They have the C extension pre-compiled so there's no need to worry about compilers. .. __: coverage_pypi_ -.. _setuptools: http://pypi.python.org/pypi/setuptools Checking the installation |
