mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-05 17:11:41 -05:00

* Stage 1: Go to python 3 for OS X. * Resolving prompt-toolkit conflict. Somebody (not sure who) wants prompt-toolkit version to be between 1.04 and 2.00, but jupyter-console needs at least v2.00. First try - use a higher IPython version. * Try to force prompt-toolkit version on OS X. Trying fix suggested in issue #370 (https://github.com/jupyter/jupyter/issues/370). * Wrong operator for pip install prompt-toolkit. * Play with IPython version, remove potentially redundant ipykernel install. * Now we can't find jupyter on OS X. The install looks good, though. * Python 3.7.6 is still a release candidate. Sigh. * Get serious about setting the PATH with pyenv. * Is the shell set up for pyenv virtualenv? * ELPA and emacs 25 are not getting along. * Restarting the shell is a bad idea. * I suspect the issue is with package gpg signatures. * Try emacs 26.3 for OS X build.
35 lines
821 B
Bash
35 lines
821 B
Bash
#!/bin/bash
|
|
|
|
# Create virtualenvs for python{2,3} for Travis CI on OSX
|
|
|
|
set -x
|
|
|
|
WORKDIR=${HOME}/local
|
|
|
|
. tools/retry.sh
|
|
|
|
if [ "x$TRAVIS_OS_NAME" = "xosx" ]; then
|
|
brew list pyenv-virtualenv &>/dev/null || HOMEBREW_NO_AUTO_UPDATE=1 brew install pyenv-virtualenv
|
|
eval "$(pyenv init -)"
|
|
eval "$(pyenv virtualenv-init -)"
|
|
|
|
case "${TOXENV}" in
|
|
py27)
|
|
pyenv install -s 2.7.12
|
|
pyenv virtualenv -f 2.7.12 py27
|
|
;;
|
|
py35)
|
|
pyenv install -s 3.5.2
|
|
pyenv virtualenv -f 3.5.2 py35
|
|
;;
|
|
py36)
|
|
pyenv install -s 3.6.9
|
|
pyenv virtualenv -f 3.6.9 py36
|
|
;;
|
|
py37)
|
|
pyenv install -s 3.7.5
|
|
pyenv virtualenv -f 3.7.5 py37
|
|
pyenv rehash
|
|
;;
|
|
esac
|
|
fi
|