File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,12 +8,20 @@ if [ `uname` == Linux ]; then
88fi
99
1010if [ ` uname` == Darwin ]; then
11- sed s:' #ifdef WITH_NEXT_FRAMEWORK' :' #if 1' :g -i src/_macosx.m
11+ # run tests with Agg...
12+ # prevents a problem with Macosx mpl not installed as framework
13+ export MPLBACKEND=Agg
14+ # This seems to be not anymore needed...
15+ # sed s:'#ifdef WITH_NEXT_FRAMEWORK':'#if 1':g -i src/_macosx.m
1216fi
1317
1418cp setup.cfg.template setup.cfg || exit 1
1519
16- sed s:/usr/local:$PREFIX :g -i setupext.py
20+ # on mac there is an error if done inplace:
21+ # sed: -i: No such file or directory
22+ # travis macosx sed has not even --help...
23+ mv setupext.py setupext.py_orig
24+ cat setupext.py_orig | sed s:/usr/local:$PREFIX :g > setupext.py
1725
1826$PYTHON setup.py install
1927
Original file line number Diff line number Diff line change 33
44package :
55 name : matplotlib-test
6+ # this version is replaced with a proper version from setup.py via the condaversion.patch
67 version : 1.5.0.9
78
89source :
910 path : ../../
1011
1112 patches :
12- # don't run nosetest
13+ # don't run nosetest (again)
1314 - cfg_notests.patch
1415 # nake Qt4Agg the default backend
1516 - cfg_qt4agg.patch # [not osx]
You can’t perform that action at this time.
0 commit comments