setup.py
changeset 26600 e8497889edab
parent 26421 4b0fc75f9403
child 27127 7309853eedae
--- a/setup.py	Mon Oct 12 14:46:51 2015 +0100
+++ b/setup.py	Fri Oct 09 12:25:51 2015 -0500
@@ -70,7 +70,11 @@
 import shutil
 import tempfile
 from distutils import log
-from distutils.core import setup, Command, Extension
+if 'FORCE_SETUPTOOLS' in os.environ:
+    from setuptools import setup
+else:
+    from distutils.core import setup
+from distutils.core import Command, Extension
 from distutils.dist import Distribution
 from distutils.command.build import build
 from distutils.command.build_ext import build_ext