Skip to content

Commit

Permalink
Remove all mention of make.osx in README.osx
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcdougall authored and mdboom committed Nov 8, 2012
1 parent 9e4e9d7 commit 80981f9
Showing 1 changed file with 19 additions and 25 deletions.
44 changes: 19 additions & 25 deletions README.osx
Original file line number Original file line Diff line number Diff line change
@@ -1,30 +1,24 @@
Building mpl on OSX has proven to be a nightmare because of all the Building mpl on OSX has proven to be a nightmare because of all the
different types of zlib, png and freetype that may be on your system. different types of zlib, png and freetype that may be on your system.
The recommended and supported way to build is to use the make.osx file The recommended and supported way to build is to use a third-party
in this directory. This script requires you to set a PREFIX package manager to install the required dependencies, and then
environment variable where you want the install to go. It will install matplotlib from source using the setup.py script. Two widely
fetch the dependencies from a remote server and install them into your used package managers are homebrew and MacPorts. The following
PREFIX dir, and then build mpl against them. It should ignore any example illustrates how to install libpng and freetype using
lib, png or freetype on your system homebrew.


Example usage:: Example usage::


make -f make.osx PREFIX=/Users/jdhunter/dev PYVERSION=2.6 \ brew install libpng freetype
fetch deps mpl_install_std

If you are using MacPorts, execute the following instead:
Variables:
PREFIX (required): where to install the dependencies Example usage::
PYVERSION (optional): which python version to use
(default=python, e.g. PYVERSION=2.6 uses python2.6) port install libpng freetype


Targets: To install matplotlib from source, execute:


clean: remove compiled files Example usage::
fetch: download dependencies
deps: build all dependencies (zlib, png, freetype) python setup.py install
mpl_build: compile matplotlib
mpl_install: install matplotlib in $PREFIX/lib/pythonX.Y/site-packages
mpl_install_std: install matplotlib in standard site-packages directory
mpl_install_egg: install matplotlib as an egg
mpl_install_develop: set up egg link to working directory (for developers)
binaries: create the dmg file for distribution

0 comments on commit 80981f9

Please sign in to comment.