prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  argparse dependency is only needed for Python 2.6
  We currently have a dependency on argparse because it's not in stdlib for Python 2.6.  We should make this dependency specific to 2.6 and not install it for other Python versions.
  
  
  </issue>
  <code>
  [start of setup.py]
  1 #!/usr/bin/env python
  2 import os
  3 import sys
  4 
  5 from setuptools import setup, find_packages
  6 
  7 import awscli
  8 
  9 
  10 requires = ['botocore>=0.16.0,<0.17.0',
  11             'bcdoc>=0.9.0,<0.10.0',
  12             'six>=1.1.0',
  13             'colorama==0.2.5',
  14             'argparse>=1.1',
  15             'docutils>=0.10',
  16             'rsa==3.1.1']
  17 
  18 
  19 setup_options = dict(
  20     name='awscli',
  21     version=awscli.__version__,
  22     description='Universal Command Line Environment for AWS.',
  23     long_description=open('README.rst').read(),
  24     author='Mitch Garnaat',
  25     author_email='garnaat@amazon.com',
  26     url='http://aws.amazon.com/cli/',
  27     scripts=['bin/aws', 'bin/aws.cmd',
  28              'bin/aws_completer', 'bin/aws_zsh_completer.sh'],
  29     packages=find_packages('.', exclude=['tests*']),
  30     package_dir={'awscli': 'awscli'},
  31     package_data={'awscli': ['data/*.json', 'examples/*/*']},
  32     install_requires=requires,
  33     license=open("LICENSE.txt").read(),
  34     classifiers=(
  35         'Development Status :: 5 - Production/Stable',
  36         'Intended Audience :: Developers',
  37         'Intended Audience :: System Administrators',
  38         'Natural Language :: English',
  39         'License :: OSI Approved :: Apache Software License',
  40         'Programming Language :: Python',
  41         'Programming Language :: Python :: 2.6',
  42         'Programming Language :: Python :: 2.7',
  43         'Programming Language :: Python :: 3',
  44         'Programming Language :: Python :: 3.3',
  45     ),
  46 )
  47 
  48 if 'py2exe' in sys.argv:
  49     # This will actually give us a py2exe command.
  50     import py2exe
  51     # And we have some py2exe specific options.
  52     setup_options['options'] = {
  53         'py2exe': {
  54             'optimize': 0,
  55             'skip_archive': True,
  56             'includes': ['ConfigParser', 'urllib', 'httplib',
  57                          'docutils.readers.standalone',
  58                          'docutils.parsers.rst',
  59                          'docutils.languages.en',
  60                          'xml.etree.ElementTree', 'HTMLParser',
  61                          'awscli.handlers'],
  62         }
  63     }
  64     setup_options['console'] = ['bin/aws']
  65 
  66 
  67 setup(**setup_options)
  68
  [end of setup.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/setup.py b/setup.py
  --- a/setup.py
  +++ b/setup.py
  @@ -1,5 +1,4 @@
   #!/usr/bin/env python
  -import os
   import sys
   
   from setuptools import setup, find_packages
  @@ -11,10 +10,14 @@
               'bcdoc>=0.9.0,<0.10.0',
               'six>=1.1.0',
               'colorama==0.2.5',
  -            'argparse>=1.1',
               'docutils>=0.10',
               'rsa==3.1.1']
   
  +if sys.version_info[:2] == (2, 6):
  +    # For python2.6 we have to require argparse since it
  +    # was not in stdlib until 2.7.
  +    requires.append('argparse>=1.1')
  +
   
   setup_options = dict(
       name='awscli',
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -1,5 +1,4 @@\n #!/usr/bin/env python\n-import os\n import sys\n \n from setuptools import setup, find_packages\n@@ -11,10 +10,14 @@\n             'bcdoc>=0.9.0,<0.10.0',\n             'six>=1.1.0',\n             'colorama==0.2.5',\n-            'argparse>=1.1',\n             'docutils>=0.10',\n             'rsa==3.1.1']\n \n+if 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 \n setup_options = dict(\n     name='awscli',\n", "issue": "argparse dependency is only needed for Python 2.6\nWe currently have a dependency on argparse because it's not in stdlib for Python 2.6.  We should make this dependency specific to 2.6 and not install it for other Python versions.\n\n", "before_files": [{"content": "#!/usr/bin/env python\nimport os\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            'argparse>=1.1',\n            'docutils>=0.10',\n            'rsa==3.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=open(\"LICENSE.txt\").read(),\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"}]}