old_contents: # -*- coding: utf-8 -*-
  #
  # Copyright (c) 2016, the cclib development team
  #
  # This file is part of cclib (http://cclib.github.io) and is distributed under
  # the terms of the BSD 3-Clause License.
  
  """Create a MANIFEST file for distributing soruces with distutils."""
  
  from __future__ import print_function
  
  import glob
  import os
  
  
  files = ['ANNOUNCE', 'CHANGELOG', 'INSTALL', 'LICENSE', 'README','THANKS',]
  files += ['setup.py']
  
  source = os.path.join('src', 'cclib')
  files.append(os.path.join(source, "__init__.py"))
  files.append(os.path.join("src", "scripts", "ccget"))
  files.append(os.path.join("src", "scripts", "ccwrite"))
  files.append(os.path.join("src", "scripts", "cda"))
  
  folders = ['bridge', 'io', 'method', 'parser', 'progress']
  for folder in folders:
      files.extend(glob.glob(os.path.join(source,folder,'*.py')))
  
  for f in files:
      if not os.path.isfile(f):
          print("%s does not exist" % f)
  
  print("\n".join(files), file=open("MANIFEST", "w"))
  
new_contents: # -*- coding: utf-8 -*-
  #
  # Copyright (c) 2016, the cclib development team
  #
  # This file is part of cclib (http://cclib.github.io) and is distributed under
  # the terms of the BSD 3-Clause License.
  
  """Create a MANIFEST file for distributing soruces with distutils."""
  
  from __future__ import print_function
  
  import glob
  import os
  
  
  files = ['ANNOUNCE', 'CHANGELOG', 'INSTALL', 'LICENSE', 'README.md','THANKS',]
  files += ['setup.py']
  
  source = os.path.join('src', 'cclib')
  files.append(os.path.join(source, "__init__.py"))
  files.append(os.path.join("src", "scripts", "ccget"))
  files.append(os.path.join("src", "scripts", "ccwrite"))
  files.append(os.path.join("src", "scripts", "cda"))
  
  folders = ['bridge', 'io', 'method', 'parser', 'progress']
  for folder in folders:
      files.extend(glob.glob(os.path.join(source,folder,'*.py')))
  
  for f in files:
      if not os.path.isfile(f):
          print("%s does not exist" % f)
  
  print("\n".join(files), file=open("MANIFEST", "w"))
  
subject: Update README filename in manifest generator