       from distutils.command.build_scripts import first_line_re
 ***************
 *** 1433,1438 ****
---- 1786,1792 ----
+--- 1787,1793 ----
       hdr = "#!%(executable)s%(options)s\n" % locals()
       return hdr
   

                  if os.path.islink(filename): os.unlink(filename)
                  f = open(filename, 'wt')
                  f.write(self.pth_file.make_relative(dist.location)+'\n')
--- 1350,1359 ----
  
              self.pth_file.save()
  

  def is_python_script(script_text, filename):
      """Is this text, as a whole, a Python script? (as opposed to shell/bat/etc.
      """
--- 1868,1873 ----
***************
*** 1528,1545 ****
  
