diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2021-01-20 21:02:24 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2021-01-23 19:09:48 -0500 |
commit | 4b0408a18dcda286af6668b7ef6934e53d1f247c (patch) | |
tree | 331ca70fb3b3c933ca10f3535c52c719085b681b /setup.py | |
parent | ea22005e27871431a29781632a52fee2a0a7cf17 (diff) | |
download | python-setuptools-git-4b0408a18dcda286af6668b7ef6934e53d1f247c.tar.gz |
Remove easy_install script and module.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -30,22 +30,6 @@ def read_commands(): return command_ns['__all__'] -def _gen_console_scripts(): - yield "easy_install = setuptools.command.easy_install:main" - - # Gentoo distributions manage the python-version-specific scripts - # themselves, so those platforms define an environment variable to - # suppress the creation of the version-specific scripts. - var_names = ( - 'SETUPTOOLS_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT', - 'DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT', - ) - if any(os.environ.get(var) not in (None, "", "0") for var in var_names): - return - tmpl = "easy_install-{shortver} = setuptools.command.easy_install:main" - yield tmpl.format(shortver='{}.{}'.format(*sys.version_info)) - - package_data = dict( setuptools=['script (dev).tmpl', 'script.tmpl', 'site-patch.py'], ) @@ -170,7 +154,6 @@ setup_params = dict( "depends.txt = setuptools.command.egg_info:warn_depends_obsolete", "dependency_links.txt = setuptools.command.egg_info:overwrite_arg", ], - "console_scripts": list(_gen_console_scripts()), }, dependency_links=[ pypi_link( |