8000 replaces epd and pythonxy with anaconda and canopy. Also, added some … · matplotlib/matplotlib@1c7d15e · GitHub
[go: up one dir, main page]

Skip to content

Commit 1c7d15e

Browse files
katyhuffdmcdougall
authored andcommitted
replaces epd and pythonxy with anaconda and canopy. Also, added some notions in
the readme.osx
1 parent c893d56 commit 1c7d15e

File tree

2 files changed

+29
-18
lines changed

2 files changed

+29
-18
lines changed

INSTALL

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ depends on what operating system you are using, what you already have
1111
installed, and how you want to use it. To avoid wading through all
1212
the details (and potential complications) on this page, the easiest
1313
thing for you to do is use one of the pre-packaged python
14-
distributions that already provide matplotlib built-in. The Enthought
15-
Python Distribution `(EPD)
16-
<http://www.enthought.com/products/epd.php>`_ for Windows, OS X or
17-
Redhat is an excellent choice that "just works" out of the box.
18-
Another excellent alternative for Windows users is `Python (x, y)
19-
<http://www.pythonxy.com/>`_ which tends to be updated a bit more
20-
frequently. Both of these packages include matplotlib and pylab, and
21-
*lots* of other useful tools. matplotlib is also packaged for almost
22-
every major Linux distribution. So if you are on Linux, your package
23-
manager will probably provide matplotlib prebuilt.
24-
14+
distributions that already provide matplotlib built-in. The
15+
Continuum.io distribution `(Anaconda)
16+
<https://store.continuum.io/cshop/anaconda/>`_ or the Enthought distribution
17+
`(Canopy) <https://www.enthought.com/products/canopy/>`_ for Windows, OS X, or
18+
Redhat is an excellent choice that "just works" out of the box. Another
19+
excellent alternative for Windows users is `Python (x, y)
20+
<http://www.pythonxy.com/>`_ which tends to be updated a bit more frequently.
21+
Both of these packages include matplotlib and pylab, and *lots* of other useful
22+
tools. matplotlib is also packaged for almost every major Linux distribution.
23+
So if you are on Linux, your package manager will probably provide matplotlib
24+
prebuilt.
2525

2626
Manually installing pre-built packages
2727
======================================

README.osx

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
1-
Building mpl on OSX has proven to be a nightmare because of all the
1+
Building mpl on OSX is sometimes a nightmare because of all the
22
different types of zlib, png and freetype that may be on your system.
3-
The recommended and supported way to build is to use a third-party
4-
package manager to install the required dependencies, and then
5-
install matplotlib from source using the setup.py script. Two widely
6-
used package managers are homebrew and MacPorts. The following
7-
example illustrates how to install libpng and freetype using
8-
homebrew.
3+
4+
For developers who want to build matplotlib from source, the recommended and
5+
supported way to build is to use a third-party package manager to install the
6+
required dependencies, and then install matplotlib from source using the
7+
setup.py script. Three widely used package managers are conda, homebrew, and
8+
MacPorts. The following example illustrates how to install libpng and freetype
9+
using conda:
10+
11+
Example usage::
12+
13+
conda install libpng freetype
14+
15+
If you are using homebrew, execute the following instead:
916

1017
Example usage::
1118

@@ -22,3 +29,7 @@ To install matplotlib from source, execute:
2229
Example usage::
2330

2431
python setup.py install
32+
33+
34+
Note that your environment is somewhat important. Some conda users have found
35+
that their PYTHONPATH must include /path/to/anaconda/

0 commit comments

Comments
 (0)
0