From 22e0dba9bd87f0c1678ad1399691341fd1dd208d Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Sat, 4 Jul 2020 16:09:57 +0100 Subject: [PATCH] Split down condition into 2 lines in base.txt maybe this might fix the issue with PyUP not processing the file? --- {{cookiecutter.project_slug}}/requirements/base.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/{{cookiecutter.project_slug}}/requirements/base.txt b/{{cookiecutter.project_slug}}/requirements/base.txt index 4baf2f376..0be094fcc 100644 --- a/{{cookiecutter.project_slug}}/requirements/base.txt +++ b/{{cookiecutter.project_slug}}/requirements/base.txt @@ -2,7 +2,11 @@ pytz==2020.1 # https://github.com/stub42/pytz python-slugify==4.0.0 # https://github.com/un33k/python-slugify Pillow==7.1.2 # https://github.com/python-pillow/Pillow {%- if cookiecutter.use_compressor == "y" %} -rcssmin==1.0.6{% if cookiecutter.windows == 'y' and cookiecutter.use_docker == 'n' %} --install-option="--without-c-extensions"{% endif %} # https://github.com/ndparker/rcssmin +{%- if cookiecutter.windows == 'y' and cookiecutter.use_docker == 'n' %} +rcssmin==1.0.6 --install-option="--without-c-extensions" # https://github.com/ndparker/rcssmin +{%- else %} +rcssmin==1.0.6 # https://github.com/ndparker/rcssmin +{%- endif %} {%- endif %} argon2-cffi==20.1.0 # https://github.com/hynek/argon2_cffi {%- if cookiecutter.use_whitenoise == 'y' %}