@@ -30,22 +30,6 @@ def read_commands():
3030 return command_ns ['__all__' ]
3131
3232
33- def _gen_console_scripts ():
34- yield "easy_install = setuptools.command.easy_install:main"
35-
36- # Gentoo distributions manage the python-version-specific scripts
37- # themselves, so those platforms define an environment variable to
38- # suppress the creation of the version-specific scripts.
39- var_names = (
40- 'SETUPTOOLS_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT' ,
41- 'DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT' ,
42- )
43- if any (os .environ .get (var ) not in (None , "" , "0" ) for var in var_names ):
44- return
45- tmpl = "easy_install-{shortver} = setuptools.command.easy_install:main"
46- yield tmpl .format (shortver = '{}.{}' .format (* sys .version_info ))
47-
48-
4933package_data = dict (
5034 setuptools = ['script (dev).tmpl' , 'script.tmpl' , 'site-patch.py' ],
5135)
@@ -170,7 +154,6 @@ def _restore_install_lib(self):
170154 "depends.txt = setuptools.command.egg_info:warn_depends_obsolete" ,
171155 "dependency_links.txt = setuptools.command.egg_info:overwrite_arg" ,
172156 ],
173- "console_scripts" : list (_gen_console_scripts ()),
174157 "setuptools.installation" :
175158 ['eggsecutable = setuptools.command.easy_install:bootstrap' ],
176159 },
0 commit comments