From 570182b6b75cc732de435ef8e43fef0cc56bcaa1 Mon Sep 17 00:00:00 2001
From: Ed Morley <emorley@mozilla.com>
Date: Thu, 21 Apr 2016 10:37:45 +0100
Subject: [PATCH] Add PyNaCl to the list of packages that trigger libffi
 bootstrapping

To reduce confusion for users who have not explicitly listed cffi as a
dependency.

Fixes #142.
---
 bin/steps/cryptography | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/steps/cryptography b/bin/steps/cryptography
index 56ef778d..1aa74b32 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 django[bcrypt] Django[bcrypt] pyOpenSSL PyOpenSSL requests[security] &> /dev/null) then
+if (pip-grep -s requirements.txt bcrypt cffi cryptography django[bcrypt] Django[bcrypt] PyNaCl pyOpenSSL PyOpenSSL requests[security] &> /dev/null) then
 
   if [ -d ".heroku/vendor/lib/libffi-3.1.1" ]; then
     export LIBFFI=$(pwd)/vendor
-- 
GitLab