setup.py: Make sure the setuptools_available variable is set

Otherwise it would crash if it can't import setuptools.
pull/1693/head
Jaime Marquínez Ferrándiz 11 years ago
parent 79b3f61228
commit 369a759acc

@ -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

Loading…
Cancel
Save