-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove all mention of make.osx in README.osx
- Loading branch information
1 parent
9e4e9d7
commit 80981f9
Showing
1 changed file
with
19 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |