File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,20 @@ if [ `uname` == Linux ]; then
8
8
fi
9
9
10
10
if [ ` 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
12
16
fi
13
17
14
18
cp setup.cfg.template setup.cfg || exit 1
15
19
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
17
25
18
26
$PYTHON setup.py install
19
27
Original file line number Diff line number Diff line change 3
3
4
4
package :
5
5
name : matplotlib-test
6
+ # this version is replaced with a proper version from setup.py via the condaversion.patch
6
7
version : 1.5.0.9
7
8
8
9
source :
9
10
path : ../../
10
11
11
12
patches :
12
- # don't run nosetest
13
+ # don't run nosetest (again)
13
14
- cfg_notests.patch
14
15
# nake Qt4Agg the default backend
15
16
- cfg_qt4agg.patch # [not osx]
You can’t perform that action at this time.
0 commit comments