mirror of
https://github.com/powerline/powerline.git
synced 2025-07-27 15:54:30 +02:00
Do not install ipython when using python-2.6
This commit is contained in:
parent
3e43995d2c
commit
accb174b8b
@ -1,15 +1,19 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
pip install .
|
pip install .
|
||||||
pip install psutil ipython
|
pip install psutil
|
||||||
if python -c 'import sys; sys.exit(1 * (sys.version_info[0] != 2))' ; then
|
if python -c 'import sys; sys.exit(1 * (sys.version_info[0] != 2))' ; then
|
||||||
# Python 2
|
# Python 2
|
||||||
if python -c 'import platform, sys; sys.exit(1 - (platform.python_implementation() == "CPython"))' ; then
|
if python -c 'import platform, sys; sys.exit(1 - (platform.python_implementation() == "CPython"))' ; then
|
||||||
|
# PyPy
|
||||||
pip install mercurial
|
pip install mercurial
|
||||||
pip install --allow-external bzr --allow-unverified bzr bzr
|
pip install --allow-external bzr --allow-unverified bzr bzr
|
||||||
fi
|
fi
|
||||||
if python -c 'import sys; sys.exit(1 * (sys.version_info[1] >= 7))' ; then
|
if python -c 'import sys; sys.exit(1 * (sys.version_info[1] >= 7))' ; then
|
||||||
# Python 2.6
|
# Python 2.6
|
||||||
pip install unittest2 argparse
|
pip install unittest2 argparse
|
||||||
|
else
|
||||||
|
# Python 2.7
|
||||||
|
pip install ipython
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
sudo apt-get install -qq screen zsh tcsh mksh busybox
|
sudo apt-get install -qq screen zsh tcsh mksh busybox
|
||||||
|
Loading…
x
Reference in New Issue
Block a user