ソースを参照

Python/Django: Upgrade Django 1.11 to 2.0 (#3164)

* Django 2.0 is py3 only, so split requirements.txt for py2/py3
* Upgrade 1.11.7 to 1.11.9 for good measure
Ciaran Courtney 7 年 前
コミット
bc55aba913

+ 1 - 1
frameworks/Python/django/requirements.txt

@@ -1,4 +1,4 @@
-Django==1.11.7
+Django==1.11.9
 greenlet==0.4.12
 gunicorn==19.7.1
 meinheld==0.6.1

+ 8 - 0
frameworks/Python/django/requirements_py3.txt

@@ -0,0 +1,8 @@
+Django==2.0.1
+greenlet==0.4.12
+gunicorn==19.7.1
+meinheld==0.6.1
+mysqlclient==1.3.12
+psycopg2==2.7.3.2
+pytz==2017.3
+ujson==1.35

+ 1 - 1
frameworks/Python/django/setup_py3.sh

@@ -2,6 +2,6 @@
 
 fw_depends mysql python3
 
-pip3 install --install-option="--prefix=${PY3_ROOT}" -r $TROOT/requirements.txt
+pip3 install --install-option="--prefix=${PY3_ROOT}" -r $TROOT/requirements_py3.txt
 
 gunicorn --pid=gunicorn.pid hello.wsgi:application -c gunicorn_conf.py --env DJANGO_DB=mysql &