diff options
author | tarek <none@none> | 2009-10-27 09:15:46 +0100 |
---|---|---|
committer | tarek <none@none> | 2009-10-27 09:15:46 +0100 |
commit | 6f9e39534c8b0aca810553e5ebc34f789c67ca05 (patch) | |
tree | 81f531d5af9053f63d65f88f8c0be39c5f51fe5c /setup.py | |
parent | 064e10630f9b8c7df65f62a2f2d0d48d63f0f825 (diff) | |
download | external_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-x | setup.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |