Source

distribute / setup.py

The branch '0.6-maintenance' does not exist.
Diff from to
         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