diff --git a/bin/compile b/bin/compile
index 62c0111c7d973b52489fecb9fdc3232f6c93e03d..ce12c55d8762034192dfe588b72c4edab96c7cab 100755
--- a/bin/compile
+++ b/bin/compile
@@ -159,7 +159,7 @@ source $BIN_DIR/steps/python
 source $BIN_DIR/steps/setuptools
 
 # If no requirements.txt file given, assume `setup.py develop` is intended.
-if [ ! -f requirements.txt ]; then
+if [ ! -f requirements.txt ] && [! -f Pipfile ]; then
   echo "-e ." > requirements.txt
 fi