@@ -90,33 +90,32 @@ the env ``MPLLOCALFREETYPE`` as::
9090
9191 export MPLLOCALFREETYPE=1
9292
93- or copy :file: `setup.cfg.template ` to :file: `setup.cfg ` and edit it to contain ::
93+ or copy :file: `setup.cfg.template ` to :file: `setup.cfg ` and edit it to contain
94+ ::
9495
9596 [test]
9697 local_freetype = True
9798
98-
9999To install Matplotlib (and compile the c-extensions) run the following
100100command from the top-level directory ::
101101
102- pip install -v -e ./
102+ python -mpip install -ve .
103103
104104This installs Matplotlib in 'editable/develop mode', i.e., builds
105105everything and places the correct link entries in the install
106106directory so that python will be able to import Matplotlib from the
107107source directory. Thus, any changes to the ``*.py `` files will be
108108reflected the next time you import the library. If you change the
109- c -extension source (which might happen if you change branches) you
110- will need to run::
109+ C -extension source (which might happen if you change branches) you
110+ will need to run ::
111111
112112 python setup.py build
113113
114- or re-run ``pip install -v -e ./ ``.
115-
114+ or re-run ``python -mpip install -ve . ``.
116115
117116Alternatively, if you do ::
118117
119- pip install -v ./
118+ python -mpip install -v .
120119
121120all of the files will be copied to the installation directory however,
122121you will have to rerun this command every time the source is changed.
@@ -132,7 +131,6 @@ environment is set up properly::
132131
133132 python tests.py
134133
135-
136134.. _pytest : http://doc.pytest.org/en/latest/
137135.. _pep8 : https://pep8.readthedocs.io/en/latest/
138136.. _mock : https://docs.python.org/dev/library/unittest.mock.html
@@ -254,12 +252,12 @@ tools:
254252 * Code with a good unittest coverage (at least 70%, better 100%), check
255253 with::
256254
257- pip install coverage
255+ python -mpip install coverage
258256 python tests.py --with-coverage
259257
260258 * No pyflakes warnings, check with::
261259
262- pip install pyflakes
260+ python -mpip install pyflakes
263261 pyflakes path/to/module.py
264262
265263.. note ::
0 commit comments