diff options
| author | Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com> | 2013-06-20 10:03:23 +0200 |
|---|---|---|
| committer | Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com> | 2013-06-20 10:03:23 +0200 |
| commit | 5b0c53dcdf8351ba6629fa75f97754a7d1b65486 (patch) | |
| tree | 64f04dfaac0874094aee1787fe63b9c22468f5b2 /setup.py | |
| parent | 48cfc50b1167a41f41a698aa930971f0de10f442 (diff) | |
| download | python-setuptools-bitbucket-5b0c53dcdf8351ba6629fa75f97754a7d1b65486.tar.gz | |
Add support for SETUPTOOLS_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT variable.
Support for old DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT variable is kept temporarily for backward compatibility.
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -55,7 +55,8 @@ from setuptools.command.test import test as _test scripts = [] console_scripts = ["easy_install = setuptools.command.easy_install:main"] -if os.environ.get("DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT") is None: +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]) # specific command that is used to generate windows .exe files |
