aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-06-29 11:03:48 -0400
committerJason R. Coombs <jaraco@jaraco.com>2013-06-29 11:03:48 -0400
commit7ece8c26352879f5d4486e329cec5d35d10d3ed6 (patch)
tree58ca555b23c0131e6f343964b947b1d4d688935d /setup.py
parent72495bf98af2c556721126fceff8a5e7d8283a91 (diff)
parentb99749aa06cc7c235cb456a81ad50187d701fc4c (diff)
downloadexternal_python_setuptools-7ece8c26352879f5d4486e329cec5d35d10d3ed6.tar.gz
external_python_setuptools-7ece8c26352879f5d4486e329cec5d35d10d3ed6.tar.bz2
external_python_setuptools-7ece8c26352879f5d4486e329cec5d35d10d3ed6.zip
Merge with 0.7.5
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index d56c491a..e6d62b18 100755
--- a/setup.py
+++ b/setup.py
@@ -56,6 +56,10 @@ from setuptools.command.test import test as _test
scripts = []
console_scripts = ["easy_install = setuptools.command.easy_install:main"]
+
+# Gentoo distributions manage the python-version-specific scripts themselves,
+# so they define an environment variable to suppress the creation of the
+# version-specific scripts.
if os.environ.get("SETUPTOOLS_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT") in (None, "", "0") and \
os.environ.get("DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT") in (None, "", "0"):
console_scripts.append("easy_install-%s = setuptools.command.easy_install:main" % sys.version[:3])