old_contents: #!/usr/local/bin/python
  
  """To use this setup script to install PyChecker:
  
  	rename pychecker-version pychecker
  	python pychecker/setup.py install
  
  Contributed by:  Nicolas Chauvat
  """
  
  import sys
  import os
  
  from distutils.core import setup
  from distutils import sysconfig
  
  if __name__ == '__main__' :
      DOC_FILES = [ 'COPYRIGHT', 'README', 'VERSION', ]
      LONG_DESCRIPTION = \
  """PyChecker is a tool for finding common bugs in python source code.
  It finds problems that are typically caught by a compiler for less
  dynamic languages, like C and C++. Because of the dynamic nature of python,
  some warnings may be incorrect; however, spurious warnings should be
  fairly infrequent."""
  
      script_suffix = 'sh'
      if sys.platform == 'win32' :
          script_suffix = 'bat'
      LOCAL_SCRIPT = 'pychecker.' + script_suffix
      try :
  	os.unlink(LOCAL_SCRIPT)
      except :
          pass
  
      install_dir = sysconfig.get_python_lib() + os.sep + 'pychecker'
      checker_py = install_dir + os.sep + 'checker.py'
      py_exe = sys.executable
      script_str = '#! /bin/sh\n\n%(py_exe)s %(checker_py)s "$@"\n' % locals()
  
      try :
          fp = open(LOCAL_SCRIPT, "w")
  	fp.write(script_str)
  	fp.close()
  	if sys.platform != 'mac' :
  	    os.chmod(LOCAL_SCRIPT, 0755)
      except :
          print "Unable to create utility script."
  	raise
  
      setup(name			= "PyChecker",
  	  version		= "0.7beta",
  	  license		= "BSD-like",
  	  description		= "Python source code checking tool",
  	  author		= "Neal Norwitz, MetaSlash, Inc.",
  	  author_email		= "pychecker@metaslash.com",
  	  url			= "http://pychecker.sourceforge.net/",
  	  packages		= [ 'pychecker' ],
  	  #data_files		= DOC_FILES,
  	  scripts		= [ LOCAL_SCRIPT, ],
  	  long_description	= LONG_DESCRIPTION
  	 )
  
  
new_contents: #!/usr/local/bin/python
  
  """To use this setup script to install PyChecker:
  
  	rename pychecker-version pychecker
  	cd pychecker
  	python setup.py install
  
  Contributed by:  Nicolas Chauvat
  """
  
  import sys
  import os
  
  from distutils.core import setup
  from distutils import sysconfig
  
  if __name__ == '__main__' :
      DOC_FILES = [ 'COPYRIGHT', 'README', 'VERSION', ]
      LONG_DESCRIPTION = \
  """PyChecker is a tool for finding common bugs in python source code.
  It finds problems that are typically caught by a compiler for less
  dynamic languages, like C and C++. Because of the dynamic nature of python,
  some warnings may be incorrect; however, spurious warnings should be
  fairly infrequent."""
  
      script_suffix = 'sh'
      if sys.platform == 'win32' :
          script_suffix = 'bat'
      LOCAL_SCRIPT = 'pychecker.' + script_suffix
      try :
  	os.unlink(LOCAL_SCRIPT)
      except :
          pass
  
      install_dir = sysconfig.get_python_lib() + os.sep + 'pychecker'
      checker_py = install_dir + os.sep + 'checker.py'
      py_exe = sys.executable
      script_str = '#! /bin/sh\n\n%(py_exe)s %(checker_py)s "$@"\n' % locals()
  
      try :
          fp = open(LOCAL_SCRIPT, "w")
  	fp.write(script_str)
  	fp.close()
  	if sys.platform != 'mac' :
  	    os.chmod(LOCAL_SCRIPT, 0755)
      except :
          print "Unable to create utility script."
  	raise
  
      setup(name			= "PyChecker",
  	  version		= "0.7beta",
  	  license		= "BSD-like",
  	  description		= "Python source code checking tool",
  	  author		= "Neal Norwitz, MetaSlash, Inc.",
  	  author_email		= "pychecker@metaslash.com",
  	  url			= "http://pychecker.sourceforge.net/",
  	  packages		= [ 'pychecker' ],
  	  #data_files		= DOC_FILES,
  	  scripts		= [ LOCAL_SCRIPT, ],
  	  long_description	= LONG_DESCRIPTION
  	 )
  
  
subject: update usage