Skip to content

Commit 43f2285

Browse files
committed
Merge remote-tracking branch 'origin/mk/python-m-pip'
* origin/mk/python-m-pip: Follow the recommendations and use python -m pip instead of pip
2 parents a78e0a5 + 9771370 commit 43f2285

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ you'll have to deactivate it for this repository::
3232
Once you've obtained a checkout, you should create a virtualenv_ and install
3333
the libraries required for working on the Debug Toolbar::
3434

35-
$ pip install -r requirements_dev.txt
35+
$ python -m pip install -r requirements_dev.txt
3636

3737
.. _virtualenv: https://virtualenv.pypa.io/
3838

docs/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Getting the code
99

1010
The recommended way to install the Debug Toolbar is via pip_::
1111

12-
$ pip install django-debug-toolbar
12+
$ python -m pip install django-debug-toolbar
1313

1414
If you aren't familiar with pip, you may also obtain a copy of the
1515
``debug_toolbar`` directory and add it to your Python path.
@@ -19,7 +19,7 @@ If you aren't familiar with pip, you may also obtain a copy of the
1919
To test an upcoming release, you can install the in-development version
2020
instead with the following command::
2121

22-
$ pip install -e git+https://github.com/jazzband/django-debug-toolbar.git#egg=django-debug-toolbar
22+
$ python -m pip install -e git+https://github.com/jazzband/django-debug-toolbar.git#egg=django-debug-toolbar
2323

2424
Prerequisites
2525
-------------

example/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ How to
1515

1616
The example project requires a working installation of Django::
1717

18-
$ pip install Django
18+
$ python -m pip install Django
1919

2020
The following command must run from the root directory of Django Debug Toolbar,
2121
i.e. the directory that contains ``example/``::

0 commit comments

Comments
 (0)