1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #30367 -- Changed "pip install" to "python -m pip install" in docs, comments and hints.

This commit is contained in:
Ramiro Morales
2019-04-14 12:02:36 -03:00
committed by Mariusz Felisiak
parent ceab25bc6d
commit aed89adad5
26 changed files with 49 additions and 47 deletions

View File

@@ -96,7 +96,7 @@ Imports
.. console::
$ pip install isort
$ python -m pip install isort
$ isort -rc .
This runs ``isort`` recursively from your current directory, modifying any

View File

@@ -55,7 +55,7 @@ version. To run it:
.. console::
$ pip install closure
$ python -m pip install closure
$ python django/contrib/admin/bin/compress.py
Behind the scenes, ``compress.py`` is a front-end for Google's

View File

@@ -30,8 +30,8 @@ Next, clone your fork, install some requirements, and run the tests::
$ git clone git@github.com:YourGitHubName/django.git django-repo
$ cd django-repo/tests
$ pip install -e ..
$ pip install -r requirements/py3.txt
$ python -m pip install -e ..
$ python -m pip install -r requirements/py3.txt
$ ./runtests.py
Installing the requirements will likely require some operating system packages
@@ -68,7 +68,7 @@ and other checks (such as :ref:`import sorting <coding-style-imports>`, the
:ref:`code formatting <coding-style-python>`), install and run the ``tox``
command from any place in the Django source tree::
$ pip install tox
$ python -m pip install tox
$ tox
By default, ``tox`` runs the test suite with the bundled test settings file for
@@ -240,7 +240,7 @@ You can find these dependencies in `pip requirements files`_ inside the
``tests/requirements`` directory of the Django source tree and install them
like so::
$ pip install -r tests/requirements/py3.txt
$ python -m pip install -r tests/requirements/py3.txt
If you encounter an error during the installation, your system might be missing
a dependency for one or more of the Python packages. Consult the failing

View File

@@ -49,7 +49,7 @@ To build the documentation locally, install Sphinx:
.. console::
$ pip install Sphinx
$ python -m pip install Sphinx
Then from the ``docs`` directory, build the HTML: