old_contents: #
  # This file is part of python-tdbus. Python-tdbus is free software
  # available under the terms of the MIT license. See the file "LICENSE" that
  # was provided together with this source file for the licensing terms.
  #
  # Copyright (c) 2012 the python-tdbus authors. See the file "AUTHORS" for a
  # complete list.
  
  import subprocess
  from setuptools import setup, Extension
  
  
  version_info = {
      'name': 'python-tdbus',
      'version': '0.8',
      'description': 'A Python interface to D-BUS',
      'author': 'Geert Jansen',
      'author_email': 'geertj@gmail.com',
      'url': 'https://github.com/geertj/python-tdbus',
      'license': 'MIT',
      'classifiers': [
          'Development Status :: 4 - Beta',
          'License :: OSI Approved :: MIT License',
          'Operating System :: Microsoft :: Windows',
          'Operating System :: POSIX',
          'Programming Language :: Python'
      ]
  }
  
   
  def pkgconfig(*args):
      """Run pkg-config."""
      output = subprocess.check_output(['pkg-config'] + list(args))
      return output.strip().split() + ['-O0']
  
  
  setup(
      package_dir = { '': 'lib' },
      packages = ['tdbus', 'tdbus.test'],
      ext_modules = [Extension('tdbus._tdbus', ['lib/tdbus/_tdbus.c'],
                extra_compile_args = pkgconfig('--cflags', 'dbus-1'),
                extra_link_args =  pkgconfig('--libs', 'dbus-1'))],
      **version_info
  )
  
new_contents: #
  # This file is part of python-tdbus. Python-tdbus is free software
  # available under the terms of the MIT license. See the file "LICENSE" that
  # was provided together with this source file for the licensing terms.
  #
  # Copyright (c) 2012 the python-tdbus authors. See the file "AUTHORS" for a
  # complete list.
  
  import subprocess
  from setuptools import setup, Extension
  
  
  version_info = {
      'name': 'python-tdbus',
      'version': '0.8',
      'description': 'A Python interface to D-BUS',
      'author': 'Geert Jansen',
      'author_email': 'geertj@gmail.com',
      'url': 'https://github.com/geertj/python-tdbus',
      'license': 'MIT',
      'classifiers': [
          'Development Status :: 4 - Beta',
          'License :: OSI Approved :: MIT License',
          'Operating System :: POSIX',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7'
      ]
  }
  
   
  def pkgconfig(*args):
      """Run pkg-config."""
      output = subprocess.check_output(['pkg-config'] + list(args))
      return output.strip().split() + ['-O0']
  
  
  setup(
      package_dir = { '': 'lib' },
      packages = ['tdbus', 'tdbus.test'],
      ext_modules = [Extension('tdbus._tdbus', ['lib/tdbus/_tdbus.c'],
                extra_compile_args = pkgconfig('--cflags', 'dbus-1'),
                extra_link_args =  pkgconfig('--libs', 'dbus-1'))],
      **version_info
  )
  
subject: Fix setup metadata.