File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ eval "$(pyenv init -)"
1414pyenv global ${PYVER}
1515pyenv local ${PYVER}
1616
17+ PYMAJ=$( python -c " import sys; print(sys.version_info[0])" )
18+ PYMIN=$( python -c " import sys; print(sys.version_info[1])" )
19+
1720if (( PYMAJ == 3 )) && (( PYMIN == 7 )) ; then
1821 echo " Skipping installing only needed for doctest which are not run on Python 3.7 (see bellow)"
1922else
Original file line number Diff line number Diff line change 5353 brew install geos
5454fi
5555# needed for basemap see https://github.com/matplotlib/basemap/issues/414#issuecomment-436792915
56- python -m pip install https://github.com/jswhit/pyproj/archive/v1.9.5.1rel.zip
57- python -m pip install https://github.com/matplotlib/basemap/archive/v1.1.0 .tar.gz
56+ # python -m pip install https://github.com/jswhit/pyproj/archive/v1.9.5.1rel.zip
57+ python -m pip install https://github.com/matplotlib/basemap/archive/v1.2.0rel .tar.gz
5858pyenv rehash
5959
Original file line number Diff line number Diff line change @@ -25,9 +25,10 @@ set -e
2525python setup.py build_ext --inplace cpptest pytest
2626
2727export PYTHONPATH=${PYTHONPATH} :` pwd`
28- for f in $( find examples -maxdepth 1 -type f -name " *.py" ) ; do
28+ cd examples
29+ for f in $( find . -maxdepth 1 -type f -name " *.py" ) ; do
2930 FILE=$( basename $f )
3031 FILE=" ${FILE% .* } " # skipping it takes too long
3132 [[ " plot_asynchronous_stochastic_solver" != " $FILE " ]] && \
32- DISPLAY=" -1" python -c " import tick.base; import examples. $FILE "
33+ DISPLAY=" -1" python -c " import tick.base; import $FILE "
3334done
You can’t perform that action at this time.
0 commit comments