old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  #
  # Copyright (c) 2011 Red Hat, Inc.
  #
  # This software is licensed to you under the GNU Lesser General Public
  # License as published by the Free Software Foundation; either version
  # 2 of the License (LGPLv2) or (at your option) any later version.
  # There is NO WARRANTY for this software, express or implied,
  # including the implied warranties of MERCHANTABILITY,
  # NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
  # have received a copy of LGPLv2 along with this software; if not, see
  # http://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt.
  #
  # Jeff Ortel <jortel@redhat.com>
  #
  
  from platform import python_version
  from setuptools import setup, find_packages
  
  
  major, minor, micro = python_version().split('.')
  
  if major != '2' or minor not in ['4', '5', '6', '7']:
      raise Exception('unsupported version of python')
  
  requires = [
  ]
  
  if minor not in ['6', '7']:
      requires.extend([
          'simplejson == 2.0.9',
      ])
  
  setup(
      name='gofer',
      version='0.1',
      description='Universal python agent',
      author='Jeff Ortel',
      author_email='jortel@redhat.com',
      url='',
      license='GPLv2+',
      packages=find_packages(),
      scripts = [
          '../bin/goferd',
      ],
      include_package_data=False,
      data_files=[],
      classifiers=[
          'License :: OSI Approved :: GNU General Puclic License (GPL)',
          'Programming Language :: Python',
          'Operating System :: POSIX',
          'Topic :: Content Management and Delivery',
          'Topic :: Software Development :: Libraries :: Python Modules',
          'Intended Audience :: Developers',
          'Development Status :: 3 - Alpha',
      ],
      install_requires=requires,
  )
  
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  #
  # Copyright (c) 2011 Red Hat, Inc.
  #
  # This software is licensed to you under the GNU Lesser General Public
  # License as published by the Free Software Foundation; either version
  # 2 of the License (LGPLv2) or (at your option) any later version.
  # There is NO WARRANTY for this software, express or implied,
  # including the implied warranties of MERCHANTABILITY,
  # NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
  # have received a copy of LGPLv2 along with this software; if not, see
  # http://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt.
  #
  # Jeff Ortel <jortel@redhat.com>
  #
  
  from setuptools import setup, find_packages
  
  setup(
      name='gofer',
      version='1.0.4',
      description='Universal python agent',
      author='Jeff Ortel',
      author_email='jortel@redhat.com',
      url='https://github.com/jortel/gofer',
      license='GPLv2+',
      packages=find_packages(),
      scripts=[
          '../bin/goferd',
      ],
      include_package_data=False,
      data_files=[],
      classifiers=[
          'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
          'Programming Language :: Python',
          'Operating System :: POSIX :: Linux',
          'Topic :: System :: Distributed Computing',
          'Topic :: Software Development :: Libraries :: Python Modules',
          'Intended Audience :: Developers',
          'Development Status :: 5 - Production/Stable',
      ],
      install_requires=[
      ],
  )
  
  
subject: Update setup.py.