Commit 6972eb59 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Add workaround for pybind11 install on pypy

parent 6d8039c1
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -85,6 +85,13 @@ if test "$EXTRA_INSTALL" != ""; then
  for i in $EXTRA_INSTALL ; do
    if [ "$i" = "numpy" ] && [[ "${PY_EXE}" == pypy* ]]; then
      $PIP install git+https://bitbucket.org/pypy/numpy.git
    elif [ "$i" = "pybind11" ] && [[ "${PY_EXE}" == pypy* ]]; then
      # Work around https://github.com/pybind/pybind11/issues/1491
      L=$(readlink .env/include)
      rm .env/include
      cp -R $L .env/include

      $PIP install $i
    elif [ "$i" = "numpy" ] && [[ "${PY_EXE}" == python2.6* ]]; then
      $PIP install 'numpy==1.10.4'
    else