       def install_script(self, dist, script_name, script_text, dev_path=None):
           """Generate a legacy script wrapper and install it"""
           spec = str(dist.as_requirement())
---- 946,951 ----
+--- 947,952 ----
 ***************
 *** 608,616 ****
               f = open(target,"w"+mode)

          try:
              args.append(dist_dir)
              self.run_setup(setup_script, setup_base, args)
--- 1305,1312 ----
  
      def build_and_install(self, setup_script, setup_base):
          args = ['bdist_egg', '--dist-dir']

              self.package_index.scan_egg_links(self.shadow_path+sys.path)
          self.package_index.add_find_links(self.find_links)
***************
*** 191,230 ****
          if self.delete_conflicting and self.ignore_conflicts_at_my_risk:
              raise DistutilsOptionError(
                  "Can't use both --delete-conflicting and "
