Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b767d35

Browse files
committed
Fixed python -mpip typo
1 parent d45060c commit b767d35

File tree

6 files changed

+20
-20
lines changed

6 files changed

+20
-20
lines changed

.appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ install:
6262
- conda install -c conda-forge pywin32
6363
- echo %PYTHON_VERSION% %TARGET_ARCH%
6464
# Install dependencies from PyPI.
65-
- python -mpip install --upgrade -r requirements/testing/all.txt %EXTRAREQS% %PINNEDVERS%
65+
- python -m pip install --upgrade -r requirements/testing/all.txt %EXTRAREQS% %PINNEDVERS%
6666
# Install optional dependencies from PyPI.
6767
# Sphinx is needed to run sphinxext tests
68-
- python -mpip install --upgrade sphinx
68+
- python -m pip install --upgrade sphinx
6969
# Show the installed packages + versions
7070
- conda list
7171

.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ commands:
5454
- run:
5555
name: Upgrade pip, setuptools, wheel
5656
command: |
57-
python -mpip install --upgrade --user pip
58-
python -mpip install --upgrade --user wheel
59-
python -mpip install --upgrade --user setuptools
57+
python -m pip install --upgrade --user pip
58+
python -m pip install --upgrade --user wheel
59+
python -m pip install --upgrade --user setuptools
6060
6161
deps-install:
6262
parameters:
@@ -67,14 +67,14 @@ commands:
6767
- run:
6868
name: Install Python dependencies
6969
command: |
70-
python -mpip install --user numpy<< parameters.numpy_version >> codecov coverage
71-
python -mpip install --user -r requirements/doc/doc-requirements.txt
70+
python -m pip install --user numpy<< parameters.numpy_version >> codecov coverage
71+
python -m pip install --user -r requirements/doc/doc-requirements.txt
7272
7373
mpl-install:
7474
steps:
7575
- run:
7676
name: Install Matplotlib
77-
command: python -mpip install --user -ve .
77+
command: python -m pip install --user -ve .
7878

7979
doc-build:
8080
steps:

.github/workflows/tests.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -137,17 +137,17 @@ jobs:
137137
run: |
138138
# Upgrade pip and setuptools and wheel to get as clean an install as
139139
# possible.
140-
python -mpip install --upgrade pip setuptools wheel
140+
python -m pip install --upgrade pip setuptools wheel
141141
142142
# Install dependencies from PyPI.
143-
python -mpip install --upgrade $PRE \
143+
python -m pip install --upgrade $PRE \
144144
cycler kiwisolver numpy pillow pyparsing python-dateutil \
145145
-r requirements/testing/all.txt \
146146
${{ matrix.extra-requirements }}
147147
148148
# Install optional dependencies from PyPI.
149149
# Sphinx is needed to run sphinxext tests
150-
python -mpip install --upgrade sphinx
150+
python -m pip install --upgrade sphinx
151151
152152
# GUI toolkits are pip-installable only for some versions of Python
153153
# so don't fail if we can't install them. Make it easier to check
@@ -160,8 +160,8 @@ jobs:
160160
# pycairo 1.20+ requires a new version of Cairo, unavailable on
161161
# Ubuntu 16.04, so PyGObject must be installed without build
162162
# isolation in order to pick up the lower pre-installed version.
163-
python -mpip install --upgrade 'pycairo<1.20.0' 'cairocffi>=0.8' &&
164-
python -mpip install --upgrade --no-build-isolation PyGObject &&
163+
python -m pip install --upgrade 'pycairo<1.20.0' 'cairocffi>=0.8' &&
164+
python -m pip install --upgrade --no-build-isolation PyGObject &&
165165
python -c 'import gi; gi.require_version("Gtk", "3.0"); from gi.repository import Gtk' &&
166166
echo 'PyGObject is available' ||
167167
echo 'PyGObject is not available'
@@ -170,16 +170,16 @@ jobs:
170170
# Sept 2020) for either pyqt5 (there are only wheels for 10.13+) or
171171
# pyside2 (the latest version (5.13.2) with 10.12 wheels has a
172172
# fatal to us bug, it was fixed in 5.14.0 which has 10.13 wheels)
173-
python -mpip install --upgrade pyqt5${{ matrix.pyqt5-ver }} &&
173+
python -m pip install --upgrade pyqt5${{ matrix.pyqt5-ver }} &&
174174
python -c 'import PyQt5.QtCore' &&
175175
echo 'PyQt5 is available' ||
176176
echo 'PyQt5 is not available'
177-
python -mpip install --upgrade pyside2 &&
177+
python -m pip install --upgrade pyside2 &&
178178
python -c 'import PySide2.QtCore' &&
179179
echo 'PySide2 is available' ||
180180
echo 'PySide2 is not available'
181181
fi
182-
python -mpip install --upgrade \
182+
python -m pip install --upgrade \
183183
-f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-16.04 \
184184
wxPython &&
185185
python -c 'import wx' &&
@@ -199,7 +199,7 @@ jobs:
199199
200200
# All dependencies must have been pre-installed, so that the minver
201201
# constraints are held.
202-
python -mpip install --no-deps -e .
202+
python -m pip install --no-deps -e .
203203
204204
if [[ "${{ runner.os }}" != 'macOS' ]]; then
205205
unset CPPFLAGS

doc/devel/development_setup.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ development source directory. This allows you to import your modified version
5858
of Matplotlib without re-installing after every change. Note that this is only
5959
true for ``*.py`` files. If you change the C-extension source (which might
6060
also happen if you change branches) you will have to re-run
61-
``python -mpip install -ve .``
61+
``python -m pip install -ve .``
6262

6363
.. _test-dependencies:
6464

doc/faq/installing_faq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ dependencies will be installed as well.
5656
If, for some reason, you cannot use the package manager, you may use the wheels
5757
available on PyPI::
5858

59-
python -mpip install matplotlib
59+
python -m pip install matplotlib
6060

6161
or :ref:`build Matplotlib from source <install-from-git>`.
6262

doc/faq/troubleshooting_faq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ mode::
161161
rm -rf /path/to/site-packages/matplotlib*
162162
git clean -xdf
163163
git pull
164-
python -mpip install -v . > build.out
164+
python -m pip install -v . > build.out
165165
python -c "from pylab import *; set_loglevel('debug'); plot(); show()" > run.out
166166

167167
and post :file:`build.out` and :file:`run.out` to the `matplotlib-devel

0 commit comments

Comments
 (0)