Browse Source

upgrade python3 to 3.6 (#2528)

* upgrade python3 to 3.6

* correct install in python/wsgi setup
Samuel Colvin 8 years ago
parent
commit
9951ab4507
2 changed files with 2 additions and 2 deletions
  1. 1 1
      frameworks/Python/wsgi/setup.sh
  2. 1 1
      toolset/setup/linux/languages/python3.sh

+ 1 - 1
frameworks/Python/wsgi/setup.sh

@@ -2,6 +2,6 @@
 
 
 fw_depends python3
 fw_depends python3
 
 
-pip install --install-option="--prefix=${PY3_ROOT}" -r $TROOT/requirements.txt
+pip3 install --install-option="--prefix=${PY3_ROOT}" -r $TROOT/requirements.txt
 
 
 gunicorn hello:app -c gunicorn_conf.py &
 gunicorn hello:app -c gunicorn_conf.py &

+ 1 - 1
toolset/setup/linux/languages/python3.sh

@@ -3,7 +3,7 @@
 fw_installed py3 && return 0
 fw_installed py3 && return 0
   
   
 PY3_ROOT=$IROOT/py3
 PY3_ROOT=$IROOT/py3
-PY3_VERSION=3.5.1
+PY3_VERSION=3.6.0
 
 
 fw_get -O http://www.python.org/ftp/python/${PY3_VERSION}/Python-${PY3_VERSION}.tar.xz
 fw_get -O http://www.python.org/ftp/python/${PY3_VERSION}/Python-${PY3_VERSION}.tar.xz
 fw_untar Python-${PY3_VERSION}.tar.xz
 fw_untar Python-${PY3_VERSION}.tar.xz