aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authortarek <none@none>2009-10-27 09:15:46 +0100
committertarek <none@none>2009-10-27 09:15:46 +0100
commit6f9e39534c8b0aca810553e5ebc34f789c67ca05 (patch)
tree81f531d5af9053f63d65f88f8c0be39c5f51fe5c /setup.py
parent064e10630f9b8c7df65f62a2f2d0d48d63f0f825 (diff)
downloadexternal_python_setuptools-6f9e39534c8b0aca810553e5ebc34f789c67ca05.tar.gz
external_python_setuptools-6f9e39534c8b0aca810553e5ebc34f789c67ca05.tar.bz2
external_python_setuptools-6f9e39534c8b0aca810553e5ebc34f789c67ca05.zip
added DONT_PATCH_SETUPTOOLS environment marker
--HG-- branch : distribute extra : rebase_source : 4fe53262211c90f2a90027014970f7e666de88f0
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