Skip to content

Commit 80981f9

Browse files
dmcdougallmdboom
authored andcommitted
Remove all mention of make.osx in README.osx
1 parent 9e4e9d7 commit 80981f9

File tree

1 file changed

+19
-25
lines changed

1 file changed

+19
-25
lines changed

README.osx

+19-25
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,24 @@
11
Building mpl on OSX has proven to be 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 the make.osx file
4-
in this directory. This script requires you to set a PREFIX
5-
environment variable where you want the install to go. It will
6-
fetch the dependencies from a remote server and install them into your
7-
PREFIX dir, and then build mpl against them. It should ignore any
8-
lib, png or freetype 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.
99

1010
Example usage::
1111

12-
make -f make.osx PREFIX=/Users/jdhunter/dev PYVERSION=2.6 \
13-
fetch deps mpl_install_std
14-
15-
Variables:
16-
PREFIX (required): where to install the dependencies
17-
PYVERSION (optional): which python version to use
18-
(default=python, e.g. PYVERSION=2.6 uses python2.6)
19-
20-
Targets:
21-
22-
clean: remove compiled files
23-
fetch: download dependencies
24-
deps: build all dependencies (zlib, png, freetype)
25-
mpl_build: compile matplotlib
26-
mpl_install: install matplotlib in $PREFIX/lib/pythonX.Y/site-packages
27-
mpl_install_std: install matplotlib in standard site-packages directory
28-
mpl_install_egg: install matplotlib as an egg
29-
mpl_install_develop: set up egg link to working directory (for developers)
30-
binaries: create the dmg file for distribution
12+
brew install libpng freetype
13+
14+
If you are using MacPorts, execute the following instead:
15+
16+
Example usage::
17+
18+
port install libpng freetype
19+
20+
To install matplotlib from source, execute:
21+
22+
Example usage::
23+
24+
python setup.py install

0 commit comments

Comments
 (0)