aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 07cfcd5e..69c23d44 100755
--- a/setup.py
+++ b/setup.py
@@ -75,6 +75,8 @@ def _buildout_marker():
return 'buildout' in os.path.basename(command)
def _being_installed():
+ if os.environ.get('DONT_PATCH_SETUPTOOLS') is not None:
+ return True
if _buildout_marker():
# Installed by buildout, don't mess with a global setuptools.
return False