prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Only creating wheels for Python 2.7
  Seems I didn't set something up correctly. It looks like this is a limitation of `setup.py bdist_wheel`
  
  
  --- 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 # -*- coding: utf-8 -*-
  3 
  4 from __future__ import print_function
  5 from setuptools import setup
  6 import re
  7 import os
  8 import sys
  9 
  10 PY26 = sys.version_info[:2] == (2, 6)
  11 
  12 
  13 long_description = (
  14     "MkDocs is a fast, simple and downright gorgeous static site generator "
  15     "that's geared towards building project documentation. Documentation "
  16     "source files are written in Markdown, and configured with a single YAML "
  17     "configuration file."
  18 )
  19 
  20 
  21 def get_version(package):
  22     """Return package version as listed in `__version__` in `init.py`."""
  23     init_py = open(os.path.join(package, '__init__.py')).read()
  24     return re.search("__version__ = ['\"]([^'\"]+)['\"]", init_py).group(1)
  25 
  26 
  27 def get_packages(package):
  28     """Return root package and all sub-packages."""
  29     return [dirpath
  30             for dirpath, dirnames, filenames in os.walk(package)
  31             if os.path.exists(os.path.join(dirpath, '__init__.py'))]
  32 
  33 
  34 def get_package_data(package):
  35     """
  36     Return all files under the root package, that are not in a
  37     package themselves.
  38     """
  39     walk = [(dirpath.replace(package + os.sep, '', 1), filenames)
  40             for dirpath, dirnames, filenames in os.walk(package)
  41             if not os.path.exists(os.path.join(dirpath, '__init__.py'))]
  42 
  43     filepaths = []
  44     for base, filenames in walk:
  45         filepaths.extend([os.path.join(base, filename)
  46                           for filename in filenames])
  47     return {package: filepaths}
  48 
  49 setup(
  50     name="mkdocs",
  51     version=get_version("mkdocs"),
  52     url='http://www.mkdocs.org',
  53     license='BSD',
  54     description='Project documentation with Markdown.',
  55     long_description=long_description,
  56     author='Tom Christie',
  57     author_email='tom@tomchristie.com',  # SEE NOTE BELOW (*)
  58     packages=get_packages("mkdocs"),
  59     package_data=get_package_data("mkdocs"),
  60     install_requires=[
  61         'click>=4.0',
  62         'Jinja2>=2.7.1',
  63         'livereload>=2.3.2',
  64         'Markdown>=2.3.1,<2.5' if PY26 else 'Markdown>=2.3.1',
  65         'PyYAML>=3.10',
  66         'tornado>=4.1',
  67     ],
  68     entry_points={
  69         'console_scripts': [
  70             'mkdocs = mkdocs.cli:cli',
  71         ],
  72     },
  73     classifiers=[
  74         'Development Status :: 5 - Production/Stable',
  75         'Environment :: Console',
  76         'Environment :: Web Environment',
  77         'Intended Audience :: Developers',
  78         'License :: OSI Approved :: BSD License',
  79         'Operating System :: OS Independent',
  80         'Programming Language :: Python',
  81         'Programming Language :: Python :: 2',
  82         'Programming Language :: Python :: 2.6',
  83         'Programming Language :: Python :: 2.7',
  84         'Programming Language :: Python :: 3',
  85         'Programming Language :: Python :: 3.3',
  86         'Programming Language :: Python :: 3.4',
  87         "Programming Language :: Python :: Implementation :: CPython",
  88         'Topic :: Documentation',
  89         'Topic :: Text Processing',
  90     ],
  91     zip_safe=False
  92 )
  93 
  94 # (*) Please direct queries to the discussion group:
  95 #     https://groups.google.com/forum/#!forum/mkdocs
  96
  ```
  --- 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
  @@ -46,6 +46,22 @@
                             for filename in filenames])
       return {package: filepaths}
   
  +
  +if sys.argv[-1] == 'publish':
  +    if os.system("pip freeze | grep wheel"):
  +        print("wheel not installed.\nUse `pip install wheel`.\nExiting.")
  +        sys.exit()
  +    if os.system("pip freeze | grep twine"):
  +        print("twine not installed.\nUse `pip install twine`.\nExiting.")
  +        sys.exit()
  +    os.system("python setup.py sdist bdist_wheel")
  +    os.system("twine upload dist/*")
  +    print("You probably want to also tag the version now:")
  +    print("  git tag -a {0} -m 'version {0}'".format(get_version("mkdocs")))
  +    print("  git push --tags")
  +    sys.exit()
  +
  +
   setup(
       name="mkdocs",
       version=get_version("mkdocs"),
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -46,6 +46,22 @@\n                           for filename in filenames])\n     return {package: filepaths}\n \n+\n+if sys.argv[-1] == 'publish':\n+    if os.system(\"pip freeze | grep wheel\"):\n+        print(\"wheel not installed.\\nUse `pip install wheel`.\\nExiting.\")\n+        sys.exit()\n+    if os.system(\"pip freeze | grep twine\"):\n+        print(\"twine not installed.\\nUse `pip install twine`.\\nExiting.\")\n+        sys.exit()\n+    os.system(\"python setup.py sdist bdist_wheel\")\n+    os.system(\"twine upload dist/*\")\n+    print(\"You probably want to also tag the version now:\")\n+    print(\"  git tag -a {0} -m 'version {0}'\".format(get_version(\"mkdocs\")))\n+    print(\"  git push --tags\")\n+    sys.exit()\n+\n+\n setup(\n     name=\"mkdocs\",\n     version=get_version(\"mkdocs\"),\n", "issue": "Only creating wheels for Python 2.7\nSeems I didn't set something up correctly. It looks like this is a limitation of `setup.py bdist_wheel`\n\n", "before_files": [{"content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n\nfrom __future__ import print_function\nfrom setuptools import setup\nimport re\nimport os\nimport sys\n\nPY26 = sys.version_info[:2] == (2, 6)\n\n\nlong_description = (\n    \"MkDocs is a fast, simple and downright gorgeous static site generator \"\n    \"that's geared towards building project documentation. Documentation \"\n    \"source files are written in Markdown, and configured with a single YAML \"\n    \"configuration file.\"\n)\n\n\ndef get_version(package):\n    \"\"\"Return package version as listed in `__version__` in `init.py`.\"\"\"\n    init_py = open(os.path.join(package, '__init__.py')).read()\n    return re.search(\"__version__ = ['\\\"]([^'\\\"]+)['\\\"]\", init_py).group(1)\n\n\ndef get_packages(package):\n    \"\"\"Return root package and all sub-packages.\"\"\"\n    return [dirpath\n            for dirpath, dirnames, filenames in os.walk(package)\n            if os.path.exists(os.path.join(dirpath, '__init__.py'))]\n\n\ndef get_package_data(package):\n    \"\"\"\n    Return all files under the root package, that are not in a\n    package themselves.\n    \"\"\"\n    walk = [(dirpath.replace(package + os.sep, '', 1), filenames)\n            for dirpath, dirnames, filenames in os.walk(package)\n            if not os.path.exists(os.path.join(dirpath, '__init__.py'))]\n\n    filepaths = []\n    for base, filenames in walk:\n        filepaths.extend([os.path.join(base, filename)\n                          for filename in filenames])\n    return {package: filepaths}\n\nsetup(\n    name=\"mkdocs\",\n    version=get_version(\"mkdocs\"),\n    url='http://www.mkdocs.org',\n    license='BSD',\n    description='Project documentation with Markdown.',\n    long_description=long_description,\n    author='Tom Christie',\n    author_email='tom@tomchristie.com',  # SEE NOTE BELOW (*)\n    packages=get_packages(\"mkdocs\"),\n    package_data=get_package_data(\"mkdocs\"),\n    install_requires=[\n        'click>=4.0',\n        'Jinja2>=2.7.1',\n        'livereload>=2.3.2',\n        'Markdown>=2.3.1,<2.5' if PY26 else 'Markdown>=2.3.1',\n        'PyYAML>=3.10',\n        'tornado>=4.1',\n    ],\n    entry_points={\n        'console_scripts': [\n            'mkdocs = mkdocs.cli:cli',\n        ],\n    },\n    classifiers=[\n        'Development Status :: 5 - Production/Stable',\n        'Environment :: Console',\n        'Environment :: Web Environment',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: BSD License',\n        'Operating System :: OS Independent',\n        'Programming Language :: Python',\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        'Programming Language :: Python :: 3.4',\n        \"Programming Language :: Python :: Implementation :: CPython\",\n        'Topic :: Documentation',\n        'Topic :: Text Processing',\n    ],\n    zip_safe=False\n)\n\n# (*) Please direct queries to the discussion group:\n#     https://groups.google.com/forum/#!forum/mkdocs\n", "path": "setup.py"}], "after_files": [{"content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n\nfrom __future__ import print_function\nfrom setuptools import setup\nimport re\nimport os\nimport sys\n\nPY26 = sys.version_info[:2] == (2, 6)\n\n\nlong_description = (\n    \"MkDocs is a fast, simple and downright gorgeous static site generator \"\n    \"that's geared towards building project documentation. Documentation \"\n    \"source files are written in Markdown, and configured with a single YAML \"\n    \"configuration file.\"\n)\n\n\ndef get_version(package):\n    \"\"\"Return package version as listed in `__version__` in `init.py`.\"\"\"\n    init_py = open(os.path.join(package, '__init__.py')).read()\n    return re.search(\"__version__ = ['\\\"]([^'\\\"]+)['\\\"]\", init_py).group(1)\n\n\ndef get_packages(package):\n    \"\"\"Return root package and all sub-packages.\"\"\"\n    return [dirpath\n            for dirpath, dirnames, filenames in os.walk(package)\n            if os.path.exists(os.path.join(dirpath, '__init__.py'))]\n\n\ndef get_package_data(package):\n    \"\"\"\n    Return all files under the root package, that are not in a\n    package themselves.\n    \"\"\"\n    walk = [(dirpath.replace(package + os.sep, '', 1), filenames)\n            for dirpath, dirnames, filenames in os.walk(package)\n            if not os.path.exists(os.path.join(dirpath, '__init__.py'))]\n\n    filepaths = []\n    for base, filenames in walk:\n        filepaths.extend([os.path.join(base, filename)\n                          for filename in filenames])\n    return {package: filepaths}\n\n\nif sys.argv[-1] == 'publish':\n    if os.system(\"pip freeze | grep wheel\"):\n        print(\"wheel not installed.\\nUse `pip install wheel`.\\nExiting.\")\n        sys.exit()\n    if os.system(\"pip freeze | grep twine\"):\n        print(\"twine not installed.\\nUse `pip install twine`.\\nExiting.\")\n        sys.exit()\n    os.system(\"python setup.py sdist bdist_wheel\")\n    os.system(\"twine upload dist/*\")\n    print(\"You probably want to also tag the version now:\")\n    print(\"  git tag -a {0} -m 'version {0}'\".format(get_version(\"mkdocs\")))\n    print(\"  git push --tags\")\n    sys.exit()\n\n\nsetup(\n    name=\"mkdocs\",\n    version=get_version(\"mkdocs\"),\n    url='http://www.mkdocs.org',\n    license='BSD',\n    description='Project documentation with Markdown.',\n    long_description=long_description,\n    author='Tom Christie',\n    author_email='tom@tomchristie.com',  # SEE NOTE BELOW (*)\n    packages=get_packages(\"mkdocs\"),\n    package_data=get_package_data(\"mkdocs\"),\n    install_requires=[\n        'click>=4.0',\n        'Jinja2>=2.7.1',\n        'livereload>=2.3.2',\n        'Markdown>=2.3.1,<2.5' if PY26 else 'Markdown>=2.3.1',\n        'PyYAML>=3.10',\n        'tornado>=4.1',\n    ],\n    entry_points={\n        'console_scripts': [\n            'mkdocs = mkdocs.cli:cli',\n        ],\n    },\n    classifiers=[\n        'Development Status :: 5 - Production/Stable',\n        'Environment :: Console',\n        'Environment :: Web Environment',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: BSD License',\n        'Operating System :: OS Independent',\n        'Programming Language :: Python',\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        'Programming Language :: Python :: 3.4',\n        \"Programming Language :: Python :: Implementation :: CPython\",\n        'Topic :: Documentation',\n        'Topic :: Text Processing',\n    ],\n    zip_safe=False\n)\n\n# (*) Please direct queries to the discussion group:\n#     https://groups.google.com/forum/#!forum/mkdocs\n", "path": "setup.py"}]}