old_contents: # -*- coding: utf-8 -
  
  import codecs
  import os
  
  from setuptools import setup
  
  with open(os.path.join(os.path.dirname(__file__), 'README.md'),
            encoding='utf-8') as f:
      long_description = f.read()
  
  setup(
      name = 'bernhard',
      version = '0.1.1',
      description = 'Python client for Riemann',
      long_description = long_description,
      author = 'Benjamin Anderspn',
      author_email = 'b@banjiewen.net',
      license = 'ASF2.0',
      url = 'http://github.com/banjiewen/bernhard.git',
  
      classifiers = [
          'Development Status :: 4 - Beta',
          'Environment :: Other Environment',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: Apache Software License',
          'Operating System :: MacOS :: MacOS X',
          'Operating System :: POSIX',
          'Operating System :: Unix',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 3',
          'Topic :: Internet :: Log Analysis',
          'Topic :: Utilities',
          'Topic :: System :: Networking :: Monitoring'
      ],
      zip_safe = False,
      packages = ['bernhard'],
      include_package_data = True,
      install_requires=['protobuf >= 2.4']
  )
  
new_contents: # -*- coding: utf-8 -
  
  import codecs
  import io
  import os
  
  from setuptools import setup
  
  with io.open(os.path.join(os.path.dirname(__file__), 'README.md'),
            encoding='utf-8') as f:
      long_description = f.read()
  
  setup(
      name = 'bernhard',
      version = '0.2.0',
      description = 'Python client for Riemann',
      long_description = long_description,
      author = 'Benjamin Anderspn',
      author_email = 'b@banjiewen.net',
      license = 'ASF2.0',
      url = 'http://github.com/banjiewen/bernhard.git',
  
      classifiers = [
          'Development Status :: 4 - Beta',
          'Environment :: Other Environment',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: Apache Software License',
          'Operating System :: MacOS :: MacOS X',
          'Operating System :: POSIX',
          'Operating System :: Unix',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 3',
          'Topic :: Internet :: Log Analysis',
          'Topic :: Utilities',
          'Topic :: System :: Networking :: Monitoring'
      ],
      zip_safe = False,
      packages = ['bernhard'],
      include_package_data = True,
      install_requires=['protobuf >= 2.4']
  )
  
subject: Use io.open for 2->3 compatibility