mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-03-03 19:08:15 +03:00
Install psycopg2-binary when not using docker locally (#1569)
- The binary package should be installable on Windows locally - The binary package is not recommended for Production, compile from source
This commit is contained in:
parent
020f69c410
commit
80618f0ace
|
@ -9,11 +9,6 @@ argon2-cffi==18.1.0 # https://github.com/hynek/argon2_cffi
|
||||||
{%- if cookiecutter.use_whitenoise == 'y' %}
|
{%- if cookiecutter.use_whitenoise == 'y' %}
|
||||||
whitenoise==3.3.1 # https://github.com/evansd/whitenoise
|
whitenoise==3.3.1 # https://github.com/evansd/whitenoise
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if cookiecutter.windows == 'y' %}
|
|
||||||
# TODO: On Windows, install psycopg2 manually from http://www.lfd.uci.edu/~gohlke/pythonlibs/#psycopg
|
|
||||||
{%- else %}
|
|
||||||
psycopg2==2.7.4 --no-binary psycopg2 # https://github.com/psycopg/psycopg2
|
|
||||||
{%- endif %}
|
|
||||||
redis>=2.10.5 # https://github.com/antirez/redis
|
redis>=2.10.5 # https://github.com/antirez/redis
|
||||||
{%- if cookiecutter.use_celery == "y" %}
|
{%- if cookiecutter.use_celery == "y" %}
|
||||||
celery==3.1.25 # pyup: <4.0 # https://github.com/celery/celery
|
celery==3.1.25 # pyup: <4.0 # https://github.com/celery/celery
|
||||||
|
|
|
@ -3,6 +3,11 @@
|
||||||
Werkzeug==0.14.1 # https://github.com/pallets/werkzeug
|
Werkzeug==0.14.1 # https://github.com/pallets/werkzeug
|
||||||
ipdb==0.11 # https://github.com/gotcha/ipdb
|
ipdb==0.11 # https://github.com/gotcha/ipdb
|
||||||
Sphinx==1.7.1 # https://github.com/sphinx-doc/sphinx
|
Sphinx==1.7.1 # https://github.com/sphinx-doc/sphinx
|
||||||
|
{%- if cookiecutter.use_docker == 'y' %}
|
||||||
|
psycopg2==2.7.4 --no-binary psycopg2 # https://github.com/psycopg/psycopg2
|
||||||
|
{%- else %}
|
||||||
|
psycopg2-binary==2.7.4 # https://github.com/psycopg/psycopg2
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
# Testing
|
# Testing
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
gevent==1.2.2
|
gevent==1.2.2
|
||||||
gunicorn==19.7.1 # https://github.com/benoitc/gunicorn
|
gunicorn==19.7.1 # https://github.com/benoitc/gunicorn
|
||||||
boto3==1.6.2 # pyup: update minor # https://github.com/boto/boto3
|
boto3==1.6.2 # pyup: update minor # https://github.com/boto/boto3
|
||||||
|
psycopg2==2.7.4 --no-binary psycopg2 # https://github.com/psycopg/psycopg2
|
||||||
{%- if cookiecutter.use_whitenoise == 'n' %}
|
{%- if cookiecutter.use_whitenoise == 'n' %}
|
||||||
Collectfast==0.6.0 # https://github.com/antonagestam/collectfast
|
Collectfast==0.6.0 # https://github.com/antonagestam/collectfast
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user