From f24254cfc02de1a67bfd18da8190ac63062fd9d6 Mon Sep 17 00:00:00 2001 From: Dan Dinu Date: Thu, 29 Mar 2018 04:36:18 +0200 Subject: [PATCH] Use pip official install method (#17) --- lib/vagrant-guest_ansible/guest_script.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/vagrant-guest_ansible/guest_script.sh b/lib/vagrant-guest_ansible/guest_script.sh index 2e2a914..defe707 100644 --- a/lib/vagrant-guest_ansible/guest_script.sh +++ b/lib/vagrant-guest_ansible/guest_script.sh @@ -27,10 +27,9 @@ if ! command -v ansible >/dev/null; then echo "neither yum nor apt-get found!" exit 1 fi - echo "Installing pip via easy_install." - wget http://peak.telecommunity.com/dist/ez_setup.py - sudo python ez_setup.py && rm -f ez_setup.py - sudo easy_install pip + echo "Installing pip via get-pip." + wget https://bootstrap.pypa.io/get-pip.py + sudo python get-pip.py && rm -f get-pip.py # Make sure setuptools are installed crrectly. sudo pip install setuptools --no-use-wheel --upgrade echo "Installing required python modules."