aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authortarek <none@none>2009-07-22 12:51:33 +0200
committertarek <none@none>2009-07-22 12:51:33 +0200
commit0bbcd2d39efe57220d041a8fe1a79cdd4b259790 (patch)
treecf526a689139ae385d3ba0971e4489224e8e5201 /setup.py
parent96cecd18557e1cf13b9307955019b1091d6a9e30 (diff)
downloadexternal_python_setuptools-0bbcd2d39efe57220d041a8fe1a79cdd4b259790.tar.gz
external_python_setuptools-0bbcd2d39efe57220d041a8fe1a79cdd4b259790.tar.bz2
external_python_setuptools-0bbcd2d39efe57220d041a8fe1a79cdd4b259790.zip
hooked the patching code into setup.py
--HG-- branch : distribute extra : rebase_source : 8e77b3c98ea725103494ee55ec403dc967dbb3a6
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index b9e419a7..c2788314 100755
--- a/setup.py
+++ b/setup.py
@@ -13,6 +13,12 @@ from setuptools import setup, find_packages
import sys
scripts = []
+# if we are installing Distribute using "python setup.py install"
+# we need to get setuptools out of the way
+if 'install' in sys.argv[1:]:
+ from ez_setup import fake_setuptools
+ fake_setuptools()
+
setup(
name="distribute",
version=VERSION,