summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2023-03-14 06:12:57 -0400
committerNed Batchelder <ned@nedbatchelder.com>2023-03-14 06:26:42 -0400
commit1de34697321fc9db0c819cae686476ffd37e7268 (patch)
tree020de55d0267a75e7b073f88c8d09b836e0842f1
parent44cb89f79304ab09a147a85f0788e7dd13bbbba3 (diff)
downloadpython-coveragepy-git-1de34697321fc9db0c819cae686476ffd37e7268.tar.gz
docs: never run pip directly
-rw-r--r--doc/contributing.rst2
-rw-r--r--doc/index.rst2
-rw-r--r--doc/install.rst6
-rw-r--r--doc/plugins.rst2
4 files changed, 6 insertions, 6 deletions
diff --git a/doc/contributing.rst b/doc/contributing.rst
index af255fe1..165ae40b 100644
--- a/doc/contributing.rst
+++ b/doc/contributing.rst
@@ -48,7 +48,7 @@ these steps:
#. Install the requirements::
- $ pip install -r requirements/dev.pip
+ $ python3 -m pip install -r requirements/dev.pip
#. Install a number of versions of Python. Coverage.py supports a range
of Python versions. The more you can test with, the more easily your code
diff --git a/doc/index.rst b/doc/index.rst
index 2b2f45bd..e416bb65 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -56,7 +56,7 @@ Getting started is easy:
#. Install coverage.py::
- $ pip install coverage
+ $ python3 -m pip install coverage
For more details, see :ref:`install`.
diff --git a/doc/install.rst b/doc/install.rst
index f3e015e4..1b940b4b 100644
--- a/doc/install.rst
+++ b/doc/install.rst
@@ -15,19 +15,19 @@ Installation
You can install coverage.py in the usual ways. The simplest way is with pip::
- $ pip install coverage
+ $ python3 -m pip install coverage
.. ifconfig:: prerelease
To install a pre-release version, you will need to specify ``--pre``::
- $ pip install --pre coverage
+ $ python3 -m pip install --pre coverage
or the exact version you want to install:
.. parsed-literal::
- $ pip install |coverage-equals-release|
+ $ python3 -m pip install |coverage-equals-release|
.. _install_extension:
diff --git a/doc/plugins.rst b/doc/plugins.rst
index c76e4f9b..a289ba7e 100644
--- a/doc/plugins.rst
+++ b/doc/plugins.rst
@@ -29,7 +29,7 @@ a coverage.py plug-in called ``something.plugin``.
.. code-block:: sh
- $ pip install something
+ $ python3 -m pip install something
#. Configure coverage.py to use the plug-in. You do this by editing (or
creating) your .coveragerc file, as described in :ref:`config`. The