unbreak the Jenkins build by excluding ./env/*
authorShivaram Lingamneni <slingamn@cs.stanford.edu>
Fri, 4 May 2012 11:45:30 +0000 (04:45 -0700)
committerShivaram Lingamneni <slingamn@cs.stanford.edu>
Fri, 4 May 2012 11:45:30 +0000 (04:45 -0700)
Makefile

index c3346ae508a4400dea65731dcf3d828277b8c19a..9439b67e77a169a6bd327bef15a53ca7f8394e4b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,9 @@
 SHELL := /bin/bash
 
 # these files should pass pyflakes
-PYFLAKES_WHITELIST=$(shell find . -name "*.py" ! -path "./docs/*" ! -path "./tests/*" ! -path "./requests/packages/*" \
+# exclude ./env/, which may contain virtualenv packages
+PYFLAKES_WHITELIST=$(shell find . -name "*.py" ! -path "./docs/*" ! -path "./tests/*" \
+       ! -path "./requests/packages/*" ! -path "./env/*" \
        ! -path "./requests/__init__.py" ! -path "./requests/compat.py")
 
 # test_requests_ext.py depends on external services, and async doesn't work under Python 3