Add Django and djangorestframework to install requirements
parent
8dbf3fe984
commit
47de6f2f6f
|
|
@ -1 +1,2 @@
|
||||||
|
.[validation]
|
||||||
-r requirements/heroku.txt
|
-r requirements/heroku.txt
|
||||||
|
|
|
||||||
|
|
@ -6,3 +6,7 @@ inflection>=0.3.1
|
||||||
future>=0.16.0
|
future>=0.16.0
|
||||||
six>=1.11.0
|
six>=1.11.0
|
||||||
uritemplate>=3.0.0
|
uritemplate>=3.0.0
|
||||||
|
|
||||||
|
djangorestframework>=3.7.0
|
||||||
|
Django>=1.11.7,<2.0; python_version <= "2.7"
|
||||||
|
Django>=1.11.7; python_version >= "3.4"
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,4 @@
|
||||||
# requirements necessary when deploying the test project to heroku
|
# requirements necessary when deploying the test project to heroku
|
||||||
.[validation]
|
|
||||||
Django>=1.11.7,<2.0; python_version <= "2.7"
|
|
||||||
Django>=1.11.7; python_version >= "3.4"
|
|
||||||
|
|
||||||
-r testproj.txt
|
-r testproj.txt
|
||||||
psycopg2>=2.7.3
|
psycopg2>=2.7.3
|
||||||
gunicorn>=19.7.1
|
gunicorn>=19.7.1
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -17,7 +17,7 @@ def read_req(req_file):
|
||||||
with io.open('README.rst', encoding='utf-8') as readme:
|
with io.open('README.rst', encoding='utf-8') as readme:
|
||||||
description = readme.read()
|
description = readme.read()
|
||||||
|
|
||||||
requirements = ['djangorestframework>=3.7.0'] + read_req('base.txt')
|
requirements = read_req('base.txt')
|
||||||
requirements_setup = read_req('setup.txt')
|
requirements_setup = read_req('setup.txt')
|
||||||
requirements_validation = read_req('validation.txt')
|
requirements_validation = read_req('validation.txt')
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,2 @@
|
||||||
..[validation]
|
..[validation]
|
||||||
Django>=1.11.7,<2.0; python_version <= "2.7"
|
|
||||||
Django>=1.11.7; python_version >= "3.4"
|
|
||||||
-r ../requirements/testproj.txt
|
-r ../requirements/testproj.txt
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue