old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  import re
  from setuptools import setup
  
  with open('README.md', 'rt', encoding='utf8') as f:
      readme = f.read()
  
  with open('httpie_aws_authv4.py', 'rt', encoding='utf8') as f:
      version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1)
  
  setup(
      name='httpie-aws-authv4',
      description='AWS auth v4 plugin for HTTPie.',
      version=version,
      author='Aidan Rowe',
      author_email='aidanrowe@gmail.com',
      license='BSD',
      url='https://github.com/aidan-/httpie-aws-authv4',
      download_url='https://github.com/aidan-/httpie-aws-authv4',
      py_modules=['httpie_aws_authv4'],
      zip_safe=False,
      long_description=readme,
      long_description_content_type='text/markdown',
      entry_points={
          'httpie.plugins.auth.v1': [
              'httpie_aws_authv4 = httpie_aws_authv4:AWSv4AuthPlugin'
          ]
      },
      install_requires=[
          'httpie>=1.0.0',
          'aws_requests_auth>=0.4.0',
          'boto3>=1.9.0',
          'urllib3'
      ],
      classifiers=[
          'Development Status :: 5 - Production/Stable',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Programming Language :: Python :: 3.6',
          'Programming Language :: Python :: 3.7',
          'Environment :: Plugins',
          'License :: OSI Approved :: BSD License',
          'Topic :: Internet :: WWW/HTTP',
          'Topic :: Utilities'
      ],
  )
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  import re
  import io
  from setuptools import setup
  
  with io.open('README.md', 'rt', encoding='utf8') as f:
      readme = f.read()
  
  with io.open('httpie_aws_authv4.py', 'rt', encoding='utf8') as f:
      version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1)
  
  setup(
      name='httpie-aws-authv4',
      description='AWS auth v4 plugin for HTTPie.',
      version=version,
      author='Aidan Rowe',
      author_email='aidanrowe@gmail.com',
      license='BSD',
      url='https://github.com/aidan-/httpie-aws-authv4',
      download_url='https://github.com/aidan-/httpie-aws-authv4',
      py_modules=['httpie_aws_authv4'],
      zip_safe=False,
      long_description=readme,
      long_description_content_type='text/markdown',
      entry_points={
          'httpie.plugins.auth.v1': [
              'httpie_aws_authv4 = httpie_aws_authv4:AWSv4AuthPlugin'
          ]
      },
      install_requires=[
          'httpie>=1.0.0',
          'aws_requests_auth>=0.4.0',
          'boto3>=1.9.0',
          'urllib3'
      ],
      classifiers=[
          'Development Status :: 5 - Production/Stable',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Programming Language :: Python :: 3.6',
          'Programming Language :: Python :: 3.7',
          'Environment :: Plugins',
          'License :: OSI Approved :: BSD License',
          'Topic :: Internet :: WWW/HTTP',
          'Topic :: Utilities'
      ],
  )
  
subject: fix support for python 2.7