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

Skip to content

Commit 474abc8

Browse files
committed
Change setupext.py to be compatible with Mac OS X (darwin);
include instructions for users of packaging systems (e.g. MacPorts).
1 parent 80d1a7c commit 474abc8

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

setupext.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,13 @@
5858
'linux3' : ['/usr/local', '/usr'],
5959
'linux' : ['/usr/local', '/usr',],
6060
'cygwin' : ['/usr/local', '/usr',],
61-
'_darwin' : ['/sw/lib/freetype2', '/sw/lib/freetype219', '/usr/local',
62-
'/usr', '/sw'],
63-
# it appears builds with darwin are broken because of all the
64-
# different flags the deps can be compile with, so I am pushing
65-
# people to :
66-
# make -f make.osx fetch deps mpl_build mpl_install
67-
68-
'darwin' : [],
61+
62+
# darwin is Mac OS X.
63+
# The default configuration works for Apple's built-in python, python.org python and Homebrew python
64+
# If you use Fink python then prepend '/sw'
65+
# If you use MacPorts python then prepend '/opt/local'
6966

67+
'darwin' : ['/usr/local/', '/usr', '/usr/X11'],
7068
'freebsd4' : ['/usr/local', '/usr'],
7169
'freebsd5' : ['/usr/local', '/usr'],
7270
'freebsd6' : ['/usr/local', '/usr'],

0 commit comments

Comments
 (0)