From c98c481f24addacd6d635a7764cb3b358acf56d9 Mon Sep 17 00:00:00 2001 From: Andrew Pinkham <code@andrewsforge.com> Date: Tue, 23 Feb 2016 09:59:49 -0500 Subject: [PATCH] Fix #277 - Install libffi with django[bcrypt] req. This ensures that libffi, required by bcrypt, is installed when Django is installed with the bcrypt dependency declared as an extra (django[bcrypt] or Django[bcrypt]). --- bin/steps/cryptography | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/steps/cryptography b/bin/steps/cryptography index 8a7372a5..5fcb1193 100755 --- a/bin/steps/cryptography +++ b/bin/steps/cryptography @@ -20,7 +20,7 @@ source $BIN_DIR/utils bpwatch start libffi_install # If a package using cffi exists within requirements, use vendored libffi. -if (pip-grep -s requirements.txt bcrypt cffi cryptography pyOpenSSL PyOpenSSL requests[security] &> /dev/null) then +if (pip-grep -s requirements.txt bcrypt cffi cryptography django[bcrypt] Django[bcrypt] pyOpenSSL PyOpenSSL requests[security] &> /dev/null) then if [ -d ".heroku/vendor/lib/libffi-3.1.1" ]; then export LIBFFI=$(pwd)/vendor -- GitLab