old_contents: 
  import sys
  
  from distutils.core import setup
  from distutils.extension import Extension
  
  if sys.version_info[0] == 2:
      base_dir = 'python2'
  elif sys.version_info[0] == 3:
      base_dir = 'python3'
  
  setup(
      name='cobs',
      version='1.0.0',
      description='Consistent Overhead Byte Stuffing (COBS)',
      author='Craig McQueen',
      author_email='python@craig.mcqueen.id.au',
      url='http://bitbucket.org/cmcqueen1975/cobs-python/',
      packages=[ 'cobs', 'cobs.cobs', 'cobs.cobsr', ],
      package_dir={
          'cobs' : base_dir + '/cobs',
      },
      ext_modules=[
          Extension('cobs.cobs._cobs_ext', [ base_dir + '/src/_cobs_ext.c', ]),
          Extension('cobs.cobsr._cobsr_ext', [ base_dir + '/src/_cobsr_ext.c', ]),
      ],
  
      long_description=open('README.txt').read(),
  
      license="MIT",
      classifiers=[
          'Development Status :: 5 - Production/Stable',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.4',
          'Programming Language :: Python :: 2.5',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.1',
          'Topic :: Communications',
      ],
  )
  
new_contents: 
  import sys
  
  from distutils.core import setup
  from distutils.extension import Extension
  
  if sys.version_info[0] == 2:
      base_dir = 'python2'
  elif sys.version_info[0] == 3:
      base_dir = 'python3'
  
  setup(
      name='cobs',
      version='1.0.0',
      description='Consistent Overhead Byte Stuffing (COBS)',
      author='Craig McQueen',
      author_email='python@craig.mcqueen.id.au',
      url='http://bitbucket.org/cmcqueen1975/cobs-python/',
      packages=[ 'cobs', 'cobs.cobs', 'cobs.cobsr', ],
      package_dir={
          'cobs' : base_dir + '/cobs',
      },
      ext_modules=[
          Extension('cobs.cobs._cobs_ext', [ base_dir + '/src/_cobs_ext.c', ]),
          Extension('cobs.cobsr._cobsr_ext', [ base_dir + '/src/_cobsr_ext.c', ]),
      ],
  
      long_description=open('README.txt').read(),
  
      license="MIT",
      classifiers=[
          'Development Status :: 5 - Production/Stable',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.4',
          'Programming Language :: Python :: 2.5',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.1',
          'Topic :: Communications',
      ],
  )
  
subject: Add Python 2.7 to the categories list in the setup.py file.