prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  pip install awscli fails
  I tried `pip install awscli` from https://github.com/aws/aws-cli/blob/develop/README.rst and failed:
  
  http://sprunge.us/NfbW
  /home/hendry/.pip/pip.log  = http://ix.io/7SC
  
  Hilarious how bad Python packaging is. I'm running Archlinux with Python 3.3.2.
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `setup.py`
  Content:
  ```
  1 #!/usr/bin/env python
  2 import sys
  3 
  4 from setuptools import setup, find_packages
  5 
  6 import awscli
  7 
  8 
  9 requires = ['botocore>=0.16.0,<0.17.0',
  10             'bcdoc>=0.9.0,<0.10.0',
  11             'six>=1.1.0',
  12             'colorama==0.2.5',
  13             'docutils>=0.10',
  14             'rsa==3.1.1']
  15 
  16 if sys.version_info[:2] == (2, 6):
  17     # For python2.6 we have to require argparse since it
  18     # was not in stdlib until 2.7.
  19     requires.append('argparse>=1.1')
  20 
  21 
  22 setup_options = dict(
  23     name='awscli',
  24     version=awscli.__version__,
  25     description='Universal Command Line Environment for AWS.',
  26     long_description=open('README.rst').read(),
  27     author='Mitch Garnaat',
  28     author_email='garnaat@amazon.com',
  29     url='http://aws.amazon.com/cli/',
  30     scripts=['bin/aws', 'bin/aws.cmd',
  31              'bin/aws_completer', 'bin/aws_zsh_completer.sh'],
  32     packages=find_packages('.', exclude=['tests*']),
  33     package_dir={'awscli': 'awscli'},
  34     package_data={'awscli': ['data/*.json', 'examples/*/*']},
  35     install_requires=requires,
  36     license="Apache License 2.0",
  37     classifiers=(
  38         'Development Status :: 5 - Production/Stable',
  39         'Intended Audience :: Developers',
  40         'Intended Audience :: System Administrators',
  41         'Natural Language :: English',
  42         'License :: OSI Approved :: Apache Software License',
  43         'Programming Language :: Python',
  44         'Programming Language :: Python :: 2.6',
  45         'Programming Language :: Python :: 2.7',
  46         'Programming Language :: Python :: 3',
  47         'Programming Language :: Python :: 3.3',
  48     ),
  49 )
  50 
  51 if 'py2exe' in sys.argv:
  52     # This will actually give us a py2exe command.
  53     import py2exe
  54     # And we have some py2exe specific options.
  55     setup_options['options'] = {
  56         'py2exe': {
  57             'optimize': 0,
  58             'skip_archive': True,
  59             'includes': ['ConfigParser', 'urllib', 'httplib',
  60                          'docutils.readers.standalone',
  61                          'docutils.parsers.rst',
  62                          'docutils.languages.en',
  63                          'xml.etree.ElementTree', 'HTMLParser',
  64                          'awscli.handlers'],
  65         }
  66     }
  67     setup_options['console'] = ['bin/aws']
  68 
  69 
  70 setup(**setup_options)
  71
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/setup.py b/setup.py
  --- a/setup.py
  +++ b/setup.py
  @@ -11,7 +11,7 @@
               'six>=1.1.0',
               'colorama==0.2.5',
               'docutils>=0.10',
  -            'rsa==3.1.1']
  +            'rsa==3.1.2']
   
   if sys.version_info[:2] == (2, 6):
       # For python2.6 we have to require argparse since it
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -11,7 +11,7 @@\n             'six>=1.1.0',\n             'colorama==0.2.5',\n             'docutils>=0.10',\n-            'rsa==3.1.1']\n+            'rsa==3.1.2']\n \n if sys.version_info[:2] == (2, 6):\n     # For python2.6 we have to require argparse since it\n", "issue": "pip install awscli fails\nI tried `pip install awscli` from https://github.com/aws/aws-cli/blob/develop/README.rst and failed:\n\nhttp://sprunge.us/NfbW\n/home/hendry/.pip/pip.log  = http://ix.io/7SC\n\nHilarious how bad Python packaging is. I'm running Archlinux with Python 3.3.2.\n\n", "before_files": [{"content": "#!/usr/bin/env python\nimport sys\n\nfrom setuptools import setup, find_packages\n\nimport awscli\n\n\nrequires = ['botocore>=0.16.0,<0.17.0',\n            'bcdoc>=0.9.0,<0.10.0',\n            'six>=1.1.0',\n            'colorama==0.2.5',\n            'docutils>=0.10',\n            'rsa==3.1.1']\n\nif sys.version_info[:2] == (2, 6):\n    # For python2.6 we have to require argparse since it\n    # was not in stdlib until 2.7.\n    requires.append('argparse>=1.1')\n\n\nsetup_options = dict(\n    name='awscli',\n    version=awscli.__version__,\n    description='Universal Command Line Environment for AWS.',\n    long_description=open('README.rst').read(),\n    author='Mitch Garnaat',\n    author_email='garnaat@amazon.com',\n    url='http://aws.amazon.com/cli/',\n    scripts=['bin/aws', 'bin/aws.cmd',\n             'bin/aws_completer', 'bin/aws_zsh_completer.sh'],\n    packages=find_packages('.', exclude=['tests*']),\n    package_dir={'awscli': 'awscli'},\n    package_data={'awscli': ['data/*.json', 'examples/*/*']},\n    install_requires=requires,\n    license=\"Apache License 2.0\",\n    classifiers=(\n        'Development Status :: 5 - Production/Stable',\n        'Intended Audience :: Developers',\n        'Intended Audience :: System Administrators',\n        'Natural Language :: English',\n        'License :: OSI Approved :: Apache Software License',\n        'Programming Language :: Python',\n        'Programming Language :: Python :: 2.6',\n        'Programming Language :: Python :: 2.7',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.3',\n    ),\n)\n\nif 'py2exe' in sys.argv:\n    # This will actually give us a py2exe command.\n    import py2exe\n    # And we have some py2exe specific options.\n    setup_options['options'] = {\n        'py2exe': {\n            'optimize': 0,\n            'skip_archive': True,\n            'includes': ['ConfigParser', 'urllib', 'httplib',\n                         'docutils.readers.standalone',\n                         'docutils.parsers.rst',\n                         'docutils.languages.en',\n                         'xml.etree.ElementTree', 'HTMLParser',\n                         'awscli.handlers'],\n        }\n    }\n    setup_options['console'] = ['bin/aws']\n\n\nsetup(**setup_options)\n", "path": "setup.py"}], "after_files": [{"content": "#!/usr/bin/env python\nimport sys\n\nfrom setuptools import setup, find_packages\n\nimport awscli\n\n\nrequires = ['botocore>=0.16.0,<0.17.0',\n            'bcdoc>=0.9.0,<0.10.0',\n            'six>=1.1.0',\n            'colorama==0.2.5',\n            'docutils>=0.10',\n            'rsa==3.1.2']\n\nif sys.version_info[:2] == (2, 6):\n    # For python2.6 we have to require argparse since it\n    # was not in stdlib until 2.7.\n    requires.append('argparse>=1.1')\n\n\nsetup_options = dict(\n    name='awscli',\n    version=awscli.__version__,\n    description='Universal Command Line Environment for AWS.',\n    long_description=open('README.rst').read(),\n    author='Mitch Garnaat',\n    author_email='garnaat@amazon.com',\n    url='http://aws.amazon.com/cli/',\n    scripts=['bin/aws', 'bin/aws.cmd',\n             'bin/aws_completer', 'bin/aws_zsh_completer.sh'],\n    packages=find_packages('.', exclude=['tests*']),\n    package_dir={'awscli': 'awscli'},\n    package_data={'awscli': ['data/*.json', 'examples/*/*']},\n    install_requires=requires,\n    license=\"Apache License 2.0\",\n    classifiers=(\n        'Development Status :: 5 - Production/Stable',\n        'Intended Audience :: Developers',\n        'Intended Audience :: System Administrators',\n        'Natural Language :: English',\n        'License :: OSI Approved :: Apache Software License',\n        'Programming Language :: Python',\n        'Programming Language :: Python :: 2.6',\n        'Programming Language :: Python :: 2.7',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.3',\n    ),\n)\n\nif 'py2exe' in sys.argv:\n    # This will actually give us a py2exe command.\n    import py2exe\n    # And we have some py2exe specific options.\n    setup_options['options'] = {\n        'py2exe': {\n            'optimize': 0,\n            'skip_archive': True,\n            'includes': ['ConfigParser', 'urllib', 'httplib',\n                         'docutils.readers.standalone',\n                         'docutils.parsers.rst',\n                         'docutils.languages.en',\n                         'xml.etree.ElementTree', 'HTMLParser',\n                         'awscli.handlers'],\n        }\n    }\n    setup_options['console'] = ['bin/aws']\n\n\nsetup(**setup_options)\n", "path": "setup.py"}]}