prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Python 2.6 issues with wheels and dependencies
  My Travis tests failed on Python 2.6: piskvorky/smart_open#15 .
  
  After some digging around it appears this is because of `moto`. Moto apparently depends on some `ordereddict` package, but that package is not installed (nor mentioned anywhere in the docs, AFAICS).
  
  Do you think you could make `ordereddict` a dependency for moto, when installing on Python 2.6?
  
  In other words, after I successfully run `pip install moto`, I'd expect moto to work, even on Python 2.6.
  
  And thanks for the great package!
  
  
  --- 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 from __future__ import unicode_literals
  3 from setuptools import setup, find_packages
  4 
  5 install_requires = [
  6     "Jinja2",
  7     "boto>=2.20.0",
  8     "flask",
  9     "httpretty>=0.6.1",
  10     "requests",
  11     "xmltodict",
  12     "six",
  13     "werkzeug",
  14 ]
  15 
  16 import sys
  17 
  18 if sys.version_info < (2, 7):
  19     # No buildint OrderedDict before 2.7
  20     install_requires.append('ordereddict')
  21 
  22 setup(
  23     name='moto',
  24     version='0.4.10',
  25     description='A library that allows your python tests to easily'
  26                 ' mock out the boto library',
  27     author='Steve Pulec',
  28     author_email='spulec@gmail',
  29     url='https://github.com/spulec/moto',
  30     entry_points={
  31         'console_scripts': [
  32             'moto_server = moto.server:main',
  33         ],
  34     },
  35     packages=find_packages(exclude=("tests", "tests.*")),
  36     install_requires=install_requires,
  37     license="Apache",
  38     test_suite="tests",
  39     classifiers=[
  40         "Programming Language :: Python :: 2",
  41         "Programming Language :: Python :: 2.6",
  42         "Programming Language :: Python :: 2.7",
  43         "Programming Language :: Python :: 3",
  44         "Programming Language :: Python :: 3.3",
  45         "License :: OSI Approved :: Apache Software License",
  46         "Topic :: Software Development :: Testing",
  47     ],
  48 )
  49
  ```
  --- 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
  @@ -13,11 +13,10 @@
       "werkzeug",
   ]
   
  -import sys
  -
  -if sys.version_info < (2, 7):
  -    # No buildint OrderedDict before 2.7
  -    install_requires.append('ordereddict')
  +extras_require = {
  +    # No builtin OrderedDict before 2.7
  +    ':python_version=="2.6"': ['ordereddict'],
  +}
   
   setup(
       name='moto',
  @@ -34,6 +33,7 @@
       },
       packages=find_packages(exclude=("tests", "tests.*")),
       install_requires=install_requires,
  +    extras_require=extras_require,
       license="Apache",
       test_suite="tests",
       classifiers=[
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -13,11 +13,10 @@\n     \"werkzeug\",\n ]\n \n-import sys\n-\n-if sys.version_info < (2, 7):\n-    # No buildint OrderedDict before 2.7\n-    install_requires.append('ordereddict')\n+extras_require = {\n+    # No builtin OrderedDict before 2.7\n+    ':python_version==\"2.6\"': ['ordereddict'],\n+}\n \n setup(\n     name='moto',\n@@ -34,6 +33,7 @@\n     },\n     packages=find_packages(exclude=(\"tests\", \"tests.*\")),\n     install_requires=install_requires,\n+    extras_require=extras_require,\n     license=\"Apache\",\n     test_suite=\"tests\",\n     classifiers=[\n", "issue": "Python 2.6 issues with wheels and dependencies\nMy Travis tests failed on Python 2.6: piskvorky/smart_open#15 .\n\nAfter some digging around it appears this is because of `moto`. Moto apparently depends on some `ordereddict` package, but that package is not installed (nor mentioned anywhere in the docs, AFAICS).\n\nDo you think you could make `ordereddict` a dependency for moto, when installing on Python 2.6?\n\nIn other words, after I successfully run `pip install moto`, I'd expect moto to work, even on Python 2.6.\n\nAnd thanks for the great package!\n\n", "before_files": [{"content": "#!/usr/bin/env python\nfrom __future__ import unicode_literals\nfrom setuptools import setup, find_packages\n\ninstall_requires = [\n    \"Jinja2\",\n    \"boto>=2.20.0\",\n    \"flask\",\n    \"httpretty>=0.6.1\",\n    \"requests\",\n    \"xmltodict\",\n    \"six\",\n    \"werkzeug\",\n]\n\nimport sys\n\nif sys.version_info < (2, 7):\n    # No buildint OrderedDict before 2.7\n    install_requires.append('ordereddict')\n\nsetup(\n    name='moto',\n    version='0.4.10',\n    description='A library that allows your python tests to easily'\n                ' mock out the boto library',\n    author='Steve Pulec',\n    author_email='spulec@gmail',\n    url='https://github.com/spulec/moto',\n    entry_points={\n        'console_scripts': [\n            'moto_server = moto.server:main',\n        ],\n    },\n    packages=find_packages(exclude=(\"tests\", \"tests.*\")),\n    install_requires=install_requires,\n    license=\"Apache\",\n    test_suite=\"tests\",\n    classifiers=[\n        \"Programming Language :: Python :: 2\",\n        \"Programming Language :: Python :: 2.6\",\n        \"Programming Language :: Python :: 2.7\",\n        \"Programming Language :: Python :: 3\",\n        \"Programming Language :: Python :: 3.3\",\n        \"License :: OSI Approved :: Apache Software License\",\n        \"Topic :: Software Development :: Testing\",\n    ],\n)\n", "path": "setup.py"}], "after_files": [{"content": "#!/usr/bin/env python\nfrom __future__ import unicode_literals\nfrom setuptools import setup, find_packages\n\ninstall_requires = [\n    \"Jinja2\",\n    \"boto>=2.20.0\",\n    \"flask\",\n    \"httpretty>=0.6.1\",\n    \"requests\",\n    \"xmltodict\",\n    \"six\",\n    \"werkzeug\",\n]\n\nextras_require = {\n    # No builtin OrderedDict before 2.7\n    ':python_version==\"2.6\"': ['ordereddict'],\n}\n\nsetup(\n    name='moto',\n    version='0.4.10',\n    description='A library that allows your python tests to easily'\n                ' mock out the boto library',\n    author='Steve Pulec',\n    author_email='spulec@gmail',\n    url='https://github.com/spulec/moto',\n    entry_points={\n        'console_scripts': [\n            'moto_server = moto.server:main',\n        ],\n    },\n    packages=find_packages(exclude=(\"tests\", \"tests.*\")),\n    install_requires=install_requires,\n    extras_require=extras_require,\n    license=\"Apache\",\n    test_suite=\"tests\",\n    classifiers=[\n        \"Programming Language :: Python :: 2\",\n        \"Programming Language :: Python :: 2.6\",\n        \"Programming Language :: Python :: 2.7\",\n        \"Programming Language :: Python :: 3\",\n        \"Programming Language :: Python :: 3.3\",\n        \"License :: OSI Approved :: Apache Software License\",\n        \"Topic :: Software Development :: Testing\",\n    ],\n)\n", "path": "setup.py"}]}