diff --git a/install/pip.sh b/install/pip.sh index f2b1a2b..61c8bd6 100755 --- a/install/pip.sh +++ b/install/pip.sh @@ -1,6 +1,11 @@ #!/bin/bash # this will install common libraries in pip + +# get and install pip. comment this out if the version of python you are installing already comes bundled with pip +wget https://bootstrap.pypa.io/get-pip.py +python get-pip.py + # adjust the pip version to whatever coincides with the python version installed in python.sh # should be a good base of pkgs - https://pythontips.com/2013/07/30/20-python-libraries-you-cant-live-without/ip2 install lxml diff --git a/install/python.sh b/install/python.sh index 25daeb0..a7587e2 100755 --- a/install/python.sh +++ b/install/python.sh @@ -9,6 +9,7 @@ pip_version=2.7 download_url=https://www.python.org/ftp/python/2.7.12/Python-${py_version}.tar.xz # download the python version and extract it + DOTFILES_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" mkdir -p "$DOTFILES_DIR/python" cd "$DOTFILES_DIR/python" @@ -19,6 +20,7 @@ cd Python-${py_version} # okay now install it + ./configure --prefix=$DOTFILES_DIR/python make make install