@@ -32,43 +32,14 @@ Although not required, we suggest also installing ``IPython`` for
3232interactive use. To easily install a complete Scientific Python
3333stack, see :ref: `install_scipy_dists ` below.
3434
35- .. _installing_windows :
36-
37- Windows
38- -------
39-
40- In case Python 2.7 or 3.4 are not installed for all users,
41- the Microsoft Visual C++ 2008
42- (`64 bit <https://www.microsoft.com/en-us/download/details.aspx?id=15336 >`__
43- or
44- `32 bit <https://www.microsoft.com/en-us/download/details.aspx?id=29 >`__
45- for Python 2.7) or Microsoft Visual C++ 2010
46- (`64 bit <https://www.microsoft.com/en-us/download/details.aspx?id=14632 >`__
47- or
48- `32 bit <https://www.microsoft.com/en-us/download/details.aspx?id=5555 >`__
49- for Python 3.4) redistributable packages need to be installed.
5035
5136macOS
5237-----
5338
54- If you are using Python 2.7 on a Mac you may need to do::
55-
56- xcode-select --install
57-
58
1544
td>- so that *subprocess32 *, a dependency, may be compiled.
59-
6039To use the native OSX backend you will need :ref: `a framework build
6140<osxframework-faq>` build of Python.
6241
AAD4
6342
64- Linux
65- -----
66-
67- On extremely old versions of Linux and Python 2.7 you may need to
68- install the master version of *subprocess32 * (`see comments
69- <https://github.com/google/python-subprocess32/issues/12#issuecomment-304724113> `__).
70-
71-
7243Test Data
7344---------
7445
@@ -83,9 +54,9 @@ To run the test suite:
8354 * extract the :file: `lib\\ matplotlib\\ tests ` or
8455 :file: `lib\\ mpl_toolkits\\ tests ` directories from the source distribution;
8556 * install test dependencies: `pytest <https://pypi.python.org/pypi/pytest >`_,
86- ` mock < https://pypi.python.org/pypi/mock >`_, Pillow, MiKTeX, GhostScript,
87- ffmpeg, avconv, ImageMagick, and ` Inkscape <https://inkscape.org/ >`_;
88- * run ``py.test path\to\tests\directory ``.
57+ Pillow, MiKTeX, GhostScript, ffmpeg, avconv, ImageMagick, and ` Inkscape
58+ <https://inkscape.org/> `_;
59+ * run ``pytest path\to\tests\directory ``.
8960
9061
9162Third-party distributions of Matplotlib
@@ -96,12 +67,13 @@ Third-party distributions of Matplotlib
9667Scientific Python Distributions
9768-------------------------------
9869
99- Both `Anaconda <https://www.continuum.io/downloads/ >`_ and `Canopy
100- <https://www.enthought.com/products/canopy/> `_ are both excellent
70+ `Anaconda <https://www.continuum.io/downloads/ >`_ and `Canopy
71+ <https://www.enthought.com/products/canopy/> `_ and `ActiveState
72+ <https://www.activestate.com/activepython/downloads> `_ are excellent
10173choices that "just work" out of the box for Windows, macOS and common
10274Linux platforms. `WinPython <https://winpython.github.io/ >`__ is an
10375option for windows users. All of these distributions include
104- Matplotlib and *lots * of other useful tools.
76+ Matplotlib and *lots * of other useful (data) science tools.
10577
10678
10779Linux : using your package manager
@@ -167,7 +139,7 @@ Dependencies
167139
168140Matplotlib requires a large number of dependencies:
169141
170- * `Python <https://www.python.org/downloads/ >`_ (>= 2.7 or >= 3.4 )
142+ * `Python <https://www.python.org/downloads/ >`_ (>= 3.5 )
171143 * `NumPy <http://www.numpy.org >`_ (>= |minimum_numpy_version |)
172144 * `setuptools <https://setuptools.readthedocs.io/en/latest/ >`__
173145 * `dateutil <https://pypi.python.org/pypi/python-dateutil >`_ (>= 2.1)
@@ -177,10 +149,6 @@ Matplotlib requires a large number of dependencies:
177149 * FreeType (>= 2.3)
178150 * `cycler <http://matplotlib.org/cycler/ >`__ (>= 0.10.0)
179151 * `six <https://pypi.python.org/pypi/six >`_
180- * `backports.functools_lru_cache <https://pypi.python.org/pypi/backports.functools_lru_cache >`_
181- (for Python 2.7 only)
182- * `subprocess32 <https://pypi.python.org/pypi/subprocess32/ >`_ (for Python
183- 2.7 only, on Linux and macOS only)
184152 * `kiwisolver <https://github.com/nucleic/kiwi >`__ (>= 1.0.0)
185153
186154Optionally, you can also install a number of packages to enable better user
@@ -191,7 +159,6 @@ optional Matplotlib backends and the capabilities they provide.
191159 * `PyQt4 <https://pypi.python.org/pypi/PyQt4 >`_ (>= 4.4) or
192160 `PySide <https://pypi.python.org/pypi/PySide >`_: for the Qt4Agg backend;
193161 * `PyQt5 <https://pypi.python.org/pypi/PyQt5 >`_: for the Qt5Agg backend;
194- * :term: `pygtk ` (>= 2.4): for the GTK and the GTKAgg backend;
195162 * :term: `wxpython ` (>= 2.9 or later): for the WX or WXAgg backend;
196163 * `cairocffi <https://cairocffi.readthedocs.io/en/latest/ >`__ (>=
197164 v0.8): for cairo based backends;
@@ -325,8 +292,6 @@ without fiddling with environment variables::
325292 conda install pyqt
326293 # this package is only available in the conda-forge channel
327294 conda install -c conda-forge msinttypes
328- # for Python 2.7
329- conda install -c conda-forge backports.functools_lru_cache
330295
331296 # copy the libs which have "wrong" names
332297 set LIBRARY_LIB=%CONDA_DEFAULT_ENV%\Library\lib
0 commit comments