aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
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,