Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Updated setupext.py that allows building on Mac OS X #965

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 29, 2012
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Change setupext.py to be compatible with Mac OS X (darwin);
include instructions for users of packaging systems (e.g. MacPorts).
  • Loading branch information
r-owen committed Mar 1, 2012
commit 474abc82cc5133aedc46b9b7a78d9fbfa5fd2e9f
14 changes: 6 additions & 8 deletions setupext.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,13 @@
'linux3' : ['/usr/local', '/usr'],
'linux' : ['/usr/local', '/usr',],
'cygwin' : ['/usr/local', '/usr',],
'_darwin' : ['/sw/lib/freetype2', '/sw/lib/freetype219', '/usr/local',
'/usr', '/sw'],
# it appears builds with darwin are broken because of all the
# different flags the deps can be compile with, so I am pushing
# people to :
# make -f make.osx fetch deps mpl_build mpl_install

'darwin' : [],

# darwin is Mac OS X.
# The default configuration works for Apple's built-in python, python.org python and Homebrew python
# If you use Fink python then prepend '/sw'
# If you use MacPorts python then prepend '/opt/local'

'darwin' : ['/usr/local/', '/usr', '/usr/X11'],
'freebsd4' : ['/usr/local', '/usr'],
'freebsd5' : ['/usr/local', '/usr'],
'freebsd6' : ['/usr/local', '/usr'],
Expand Down