Browse Source

Merge pull request #1216 from methane/patch-2

Python 3.4 installs pip automatically
Mike Smith 10 years ago
parent
commit
5c1f807a61
1 changed files with 3 additions and 8 deletions
  1. 3 8
      toolset/setup/linux/languages/python3.sh

+ 3 - 8
toolset/setup/linux/languages/python3.sh

@@ -3,16 +3,11 @@
 RETCODE=$(fw_exists py3)
 [ ! "$RETCODE" == 0 ] || { return 0; }
 
-fw_get http://www.python.org/ftp/python/3.4.1/Python-3.4.1.tar.xz
-fw_untar Python-3.4.1.tar.xz
+fw_get http://www.python.org/ftp/python/3.4.2/Python-3.4.2.tar.xz
+fw_untar Python-3.4.2.tar.xz
 pre=$(pwd)
-cd Python-3.4.1
+cd Python-3.4.2
 ./configure --prefix=${pre}/py3 --disable-shared --quiet
 make -j4 --quiet
 make install --quiet
 cd ..
-
-if [ ! -f "get-pip.py" ]; then
-fw_get https://bootstrap.pypa.io/get-pip.py -O get-pip.py
-fi
-./py3/bin/python get-pip.py