소스 검색

setup.py: Make sure the setuptools_available variable is set

Otherwise it would crash if it can't import setuptools.
Jaime Marquínez Ferrándiz 12 년 전
부모
커밋
369a759acc
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      setup.py

+ 1 - 0
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