From 15dc746b381b2503d451b204f90eb128185d4cce Mon Sep 17 00:00:00 2001 From: "Nikita P. Shupeyko" Date: Wed, 7 Mar 2018 15:59:47 +0300 Subject: [PATCH] Prettify base.txt --- .../requirements/base.txt | 79 +++++++------------ 1 file changed, 28 insertions(+), 51 deletions(-) diff --git a/{{cookiecutter.project_slug}}/requirements/base.txt b/{{cookiecutter.project_slug}}/requirements/base.txt index 9cd9f30f1..1f0912951 100644 --- a/{{cookiecutter.project_slug}}/requirements/base.txt +++ b/{{cookiecutter.project_slug}}/requirements/base.txt @@ -1,54 +1,31 @@ -# Conservative Django -django==2.0.3 # pyup: < 2.1 - -# Configuration -django-environ==0.4.4 -{% if cookiecutter.use_whitenoise == 'y' -%} -whitenoise==3.3.1 +pytz==2018.3 # https://github.com/stub42/pytz +awesome-slugify==1.6.5 # https://github.com/dimka665/awesome-slugify +Pillow==5.0.0 # https://github.com/python-pillow/Pillow +{%- if cookiecutter.use_compressor == "y" %} +rcssmin==1.0.6{% if cookiecutter.windows == 'y' %} --install-option="--without-c-extensions"{% endif %} # https://github.com/ndparker/rcssmin +{%- endif %} +argon2-cffi==18.1.0 # https://github.com/hynek/argon2_cffi +{%- if cookiecutter.use_whitenoise == 'y' %} +whitenoise==3.3.1 # https://github.com/evansd/whitenoise +{%- 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 +{%- if cookiecutter.use_celery == "y" %} +celery==3.1.25 # pyup: <4.0 # https://github.com/celery/celery {%- endif %} - -# Forms -django-crispy-forms==1.7.1 - -# Models -django-model-utils==3.1.1 - -# Images -Pillow==5.0.0 - -# Password storage -argon2-cffi==18.1.0 - -# For user registration, either via email or social -# Well-built with regular release cycles! -django-allauth==0.35.0 - -{% if cookiecutter.windows == 'y' -%} -# On Windows, you must download/install psycopg2 manually -# from http://www.lfd.uci.edu/~gohlke/pythonlibs/#psycopg -{% else %} -# Python-PostgreSQL Database Adapter -psycopg2==2.7.4 --no-binary psycopg2 +# Django +# ------------------------------------------------------------------------------ +django==2.0.3 # pyup: < 2.1 # https://www.djangoproject.com/ +django-environ==0.4.4 # https://github.com/joke2k/django-environ +django-model-utils==3.1.1 # https://github.com/jazzband/django-model-utils +django-allauth==0.35.0 # https://github.com/pennersr/django-allauth +django-crispy-forms==1.7.1 # https://github.com/django-crispy-forms/django-crispy-forms +{%- if cookiecutter.use_compressor == "y" %} +django-compressor==2.2 # https://github.com/django-compressor/django-compressor {%- endif %} - -# Unicode slugification -awesome-slugify==1.6.5 - -# Time zones support -pytz==2018.3 - -# Redis support -django-redis==4.9.0 -redis>=2.10.5 - -{% if cookiecutter.use_celery == "y" %} -celery==3.1.25 # pyup: <4.0 -{% endif %} - -{% if cookiecutter.use_compressor == "y" %} -rcssmin==1.0.6 {% if cookiecutter.windows == 'y' %}--install-option="--without-c-extensions"{% endif %} -django-compressor==2.2 -{% endif %} - -# Your custom requirements go here +django-redis==4.9.0 # https://github.com/niwinz/django-redis