diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2013-06-29 10:47:03 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-06-29 10:47:03 -0400 |
commit | f5a609f696a9fdc85cefd09f97865282fa341631 (patch) | |
tree | 9e3c711d17049bcc28f0c78e61d1ebe689af6cba /setup.py | |
parent | d259c91f17d0bf9a0ac91d61d0ea0c0b5e7f618f (diff) | |
download | external_python_setuptools-f5a609f696a9fdc85cefd09f97865282fa341631.tar.gz external_python_setuptools-f5a609f696a9fdc85cefd09f97865282fa341631.tar.bz2 external_python_setuptools-f5a609f696a9fdc85cefd09f97865282fa341631.zip |
Add comment to capture the purpose of the environment variable0.7.5
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -55,6 +55,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]) |