class_docstr: Set up package for development
class_docstr_tok: ["Set","up","package","for","development"]
code: def install_egg_scripts(self, dist):
      if dist is not self.dist:
          # Installing a dependency, so fall back to normal behavior
          return easy_install.install_egg_scripts(self, dist)
  
      # create wrapper scripts in the script dir, pointing to dist.scripts
  
      # new-style...
      self.install_wrapper_scripts(dist)
  
      # ...and old-style
      for script_name in self.distribution.scripts or []:
          script_path = os.path.abspath(convert_path(script_name))
          script_name = os.path.basename(script_path)
          with open(script_path) as strm:
              script_text = strm.read()
          self.install_script(
              dist, script_name, script_text, script_path
          )
  
imports: from distutils.util import convert_path
  from distutils import log
  from distutils.errors import DistutilsOptionError
  import os
  import glob
  from setuptools.command.easy_install import easy_install
  from setuptools import _path
  from setuptools import namespaces
  import setuptools
label_desc: Use image node_id 7 for calling the develop obj's underlying member method code with example usage: obj.install_egg_scripts(dist) and returns: easy_install