diff options
| author | Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com> | 2011-05-22 23:47:14 +0200 |
|---|---|---|
| committer | Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com> | 2011-05-22 23:47:14 +0200 |
| commit | 23c15f6e67cb4af87861f189d075eb6666399ad7 (patch) | |
| tree | 5f70160ada82fb119463ab8273ba614113b5550b /setup.py | |
| parent | a1d588d754b1ef432df72f1435fa9639239e3ddb (diff) | |
| download | python-setuptools-bitbucket-23c15f6e67cb4af87861f189d075eb6666399ad7.tar.gz | |
Support DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT environment
variable to allow to disable installation of easy_install-${version} script.
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -45,6 +45,10 @@ 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: + console_scripts.append("easy_install-%s = setuptools.command.easy_install:main" % sys.version[:3]) + # specific command that is used to generate windows .exe files class build_py(_build_py): def build_package_data(self): @@ -182,11 +186,7 @@ dist = setup( "dependency_links.txt = setuptools.command.egg_info:overwrite_arg", ], - "console_scripts": [ - "easy_install = setuptools.command.easy_install:main", - "easy_install-%s = setuptools.command.easy_install:main" - % sys.version[:3] - ], + "console_scripts": console_scripts, "setuptools.file_finders": ["svn_cvs = setuptools.command.sdist:_default_revctrl"], |
