Put hiredis in production only if using Win

This commit is contained in:
Andrew-Chen-Wang 2020-04-29 16:42:24 -04:00
parent dfd1ee8bb2
commit 4d54dcaa32
2 changed files with 5 additions and 0 deletions

View File

@ -9,7 +9,9 @@ argon2-cffi==19.2.0 # https://github.com/hynek/argon2_cffi
whitenoise==5.0.1 # https://github.com/evansd/whitenoise
{%- endif %}
redis==3.4.1 # https://github.com/andymccurdy/redis-py
{%- if cookiecutter.windows == "n" %}
hiredis==1.0.1 # https://github.com/redis/hiredis-py
{%- endif %}
{%- if cookiecutter.use_celery == "y" %}
celery==4.4.2 # pyup: < 5.0 # https://github.com/celery/celery
django-celery-beat==2.0.0 # https://github.com/celery/django-celery-beat

View File

@ -12,6 +12,9 @@ Collectfast==2.1.0 # https://github.com/antonagestam/collectfast
{%- if cookiecutter.use_sentry == "y" %}
sentry-sdk==0.14.3 # https://github.com/getsentry/sentry-python
{%- endif %}
{%- if cookiecutter.windows == "y" %}
hiredis==1.0.1 # https://github.com/redis/hiredis-py
{%- endif %}
# Django
# ------------------------------------------------------------------------------