diff --git a/setup.py b/setup.py
index f14f963772..aa7cfca086 100644
--- a/setup.py
+++ b/setup.py
@@ -11,6 +11,7 @@ try:
     setuptools_available = True
 except ImportError:
     from distutils.core import setup
+    setuptools_available = False
 
 try:
     # This will create an exe that needs Microsoft Visual C++ 2008