prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Update README
  Two issues with our README file:
  - it is not up-to-date (e.g. it mentions Cython, which we don't use anymore)
  - it uses Markdown rather than reST, and therefore is badly formatted when used for the PyPI long description: https://pypi.python.org/pypi/numba
  
  
  --- 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 try:
  2     # Try to use setuptools so as to enable support of the special
  3     # "Microsoft Visual C++ Compiler for Python 2.7" (http://aka.ms/vcpython27)
  4     # for building under Windows.
  5     # Note setuptools >= 6.0 is required for this.
  6     from setuptools import setup, Extension
  7 except ImportError:
  8     from distutils.core import setup, Extension
  9 
  10 import sys
  11 import os
  12 import numpy
  13 import numpy.distutils.misc_util as np_misc
  14 import versioneer
  15 
  16 versioneer.versionfile_source = 'numba/_version.py'
  17 versioneer.versionfile_build = 'numba/_version.py'
  18 versioneer.tag_prefix = ''
  19 versioneer.parentdir_prefix = 'numba-'
  20 
  21 cmdclass = versioneer.get_cmdclass()
  22 
  23 setup_args = {
  24     'long_description': open('README.md').read(),
  25 }
  26 
  27 GCCFLAGS = ["-std=c89", "-Wdeclaration-after-statement", "-Werror"]
  28 
  29 if os.environ.get("NUMBA_GCC_FLAGS"):
  30     CFLAGS = GCCFLAGS
  31 else:
  32     CFLAGS = []
  33 
  34 
  35 if sys.platform == 'darwin' and sys.version_info[:2] == (2, 6):
  36     cpp_link_args = ['-lstdc++']
  37 else:
  38     cpp_link_args = []
  39 
  40 npymath_info = np_misc.get_info('npymath')
  41 
  42 ext_dynfunc = Extension(name='numba._dynfunc', sources=['numba/_dynfunc.c'],
  43                         extra_compile_args=CFLAGS,
  44                         depends=["numba/_pymodule.h"])
  45 
  46 ext_npymath_exports = Extension(name='numba._npymath_exports',
  47                                 sources=['numba/_npymath_exports.c'],
  48                                 include_dirs=npymath_info['include_dirs'],
  49                                 libraries=npymath_info['libraries'],
  50                                 library_dirs=npymath_info['library_dirs'],
  51                                 define_macros=npymath_info['define_macros'])
  52 
  53 
  54 ext_dispatcher = Extension(name="numba._dispatcher",
  55                            include_dirs=[numpy.get_include()],
  56                            sources=['numba/_dispatcher.c',
  57                                     'numba/_dispatcherimpl.cpp',
  58                                     'numba/typeconv/typeconv.cpp'],
  59                            depends=["numba/_pymodule.h",
  60                                     "numba/_dispatcher.h"],
  61                            extra_link_args=cpp_link_args)
  62 
  63 ext_helperlib = Extension(name="numba._helperlib",
  64                           include_dirs=[numpy.get_include()],
  65                           sources=["numba/_helperlib.c", "numba/_math_c99.c"],
  66                           extra_compile_args=CFLAGS,
  67                           depends=["numba/_pymodule.h",
  68                                    "numba/_math_c99.h",
  69                                    "numba/mathnames.inc"])
  70 
  71 ext_typeconv = Extension(name="numba.typeconv._typeconv",
  72                          sources=["numba/typeconv/typeconv.cpp",
  73                                   "numba/typeconv/_typeconv.cpp"],
  74                          depends=["numba/_pymodule.h"],
  75                          extra_link_args=cpp_link_args)
  76 
  77 ext_npyufunc_ufunc = Extension(name="numba.npyufunc._internal",
  78                                sources=["numba/npyufunc/_internal.c"],
  79                                include_dirs=[numpy.get_include()],
  80                                depends=["numba/npyufunc/_ufunc.c",
  81                                         "numba/npyufunc/_internal.h",
  82                                         "numba/_pymodule.h"])
  83 
  84 ext_mviewbuf = Extension(name='numba.mviewbuf',
  85                          sources=['numba/mviewbuf.c'])
  86 
  87 ext_modules = [ext_dynfunc, ext_npymath_exports, ext_dispatcher,
  88                ext_helperlib, ext_typeconv, ext_npyufunc_ufunc, ext_mviewbuf]
  89 
  90 packages = [
  91     "numba",
  92     "numba.targets",
  93     "numba.tests",
  94     "numba.typing",
  95     "numba.typeconv",
  96     "numba.npyufunc",
  97     "numba.pycc",
  98     "numba.servicelib",
  99     "numba.cuda",
  100     "numba.cuda.cudadrv",
  101     "numba.cuda.tests",
  102     "numba.cuda.tests.cudadrv",
  103     "numba.cuda.tests.cudadrv.data",
  104     "numba.cuda.tests.cudapy",
  105 ]
  106 
  107 setup(name='numba',
  108       description="compiling Python code using LLVM",
  109       version=versioneer.get_version(),
  110 
  111       classifiers=[
  112         "Development Status :: 4 - Beta",
  113         "Intended Audience :: Developers",
  114         "License :: OSI Approved :: BSD License",
  115         "Operating System :: OS Independent",
  116         "Programming Language :: Python",
  117         "Programming Language :: Python :: 2.6",
  118         "Programming Language :: Python :: 2.7",
  119         "Programming Language :: Python :: 3.3",
  120         "Programming Language :: Python :: 3.4",
  121         "Topic :: Software Development :: Compilers",
  122       ],
  123       package_data={
  124         "numba": ["*.c", "*.h", "*.cpp", "*.inc"],
  125         "numba.npyufunc": ["*.c", "*.h"],
  126         "numba.typeconv": ["*.cpp", "*.hpp"],
  127         "numba.cuda.tests.cudadrv.data": ["*.ptx"],
  128       },
  129       scripts=["numba/pycc/pycc", "bin/numba"],
  130       author="Continuum Analytics, Inc.",
  131       author_email="numba-users@continuum.io",
  132       url="http://numba.github.com",
  133       ext_modules=ext_modules,
  134       packages=packages,
  135       license="BSD",
  136       cmdclass=cmdclass,
  137       **setup_args)
  138 
  139
  ```
  --- 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
  @@ -21,7 +21,7 @@
   cmdclass = versioneer.get_cmdclass()
   
   setup_args = {
  -    'long_description': open('README.md').read(),
  +    'long_description': open('README.rst').read(),
   }
   
   GCCFLAGS = ["-std=c89", "-Wdeclaration-after-statement", "-Werror"]
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -21,7 +21,7 @@\n cmdclass = versioneer.get_cmdclass()\n \n setup_args = {\n-    'long_description': open('README.md').read(),\n+    'long_description': open('README.rst').read(),\n }\n \n GCCFLAGS = [\"-std=c89\", \"-Wdeclaration-after-statement\", \"-Werror\"]\n", "issue": "Update README\nTwo issues with our README file:\n- it is not up-to-date (e.g. it mentions Cython, which we don't use anymore)\n- it uses Markdown rather than reST, and therefore is badly formatted when used for the PyPI long description: https://pypi.python.org/pypi/numba\n\n", "before_files": [{"content": "try:\n    # Try to use setuptools so as to enable support of the special\n    # \"Microsoft Visual C++ Compiler for Python 2.7\" (http://aka.ms/vcpython27)\n    # for building under Windows.\n    # Note setuptools >= 6.0 is required for this.\n    from setuptools import setup, Extension\nexcept ImportError:\n    from distutils.core import setup, Extension\n\nimport sys\nimport os\nimport numpy\nimport numpy.distutils.misc_util as np_misc\nimport versioneer\n\nversioneer.versionfile_source = 'numba/_version.py'\nversioneer.versionfile_build = 'numba/_version.py'\nversioneer.tag_prefix = ''\nversioneer.parentdir_prefix = 'numba-'\n\ncmdclass = versioneer.get_cmdclass()\n\nsetup_args = {\n    'long_description': open('README.md').read(),\n}\n\nGCCFLAGS = [\"-std=c89\", \"-Wdeclaration-after-statement\", \"-Werror\"]\n\nif os.environ.get(\"NUMBA_GCC_FLAGS\"):\n    CFLAGS = GCCFLAGS\nelse:\n    CFLAGS = []\n\n\nif sys.platform == 'darwin' and sys.version_info[:2] == (2, 6):\n    cpp_link_args = ['-lstdc++']\nelse:\n    cpp_link_args = []\n\nnpymath_info = np_misc.get_info('npymath')\n\next_dynfunc = Extension(name='numba._dynfunc', sources=['numba/_dynfunc.c'],\n                        extra_compile_args=CFLAGS,\n                        depends=[\"numba/_pymodule.h\"])\n\next_npymath_exports = Extension(name='numba._npymath_exports',\n                                sources=['numba/_npymath_exports.c'],\n                                include_dirs=npymath_info['include_dirs'],\n                                libraries=npymath_info['libraries'],\n                                library_dirs=npymath_info['library_dirs'],\n                                define_macros=npymath_info['define_macros'])\n\n\next_dispatcher = Extension(name=\"numba._dispatcher\",\n                           include_dirs=[numpy.get_include()],\n                           sources=['numba/_dispatcher.c',\n                                    'numba/_dispatcherimpl.cpp',\n                                    'numba/typeconv/typeconv.cpp'],\n                           depends=[\"numba/_pymodule.h\",\n                                    \"numba/_dispatcher.h\"],\n                           extra_link_args=cpp_link_args)\n\next_helperlib = Extension(name=\"numba._helperlib\",\n                          include_dirs=[numpy.get_include()],\n                          sources=[\"numba/_helperlib.c\", \"numba/_math_c99.c\"],\n                          extra_compile_args=CFLAGS,\n                          depends=[\"numba/_pymodule.h\",\n                                   \"numba/_math_c99.h\",\n                                   \"numba/mathnames.inc\"])\n\next_typeconv = Extension(name=\"numba.typeconv._typeconv\",\n                         sources=[\"numba/typeconv/typeconv.cpp\",\n                                  \"numba/typeconv/_typeconv.cpp\"],\n                         depends=[\"numba/_pymodule.h\"],\n                         extra_link_args=cpp_link_args)\n\next_npyufunc_ufunc = Extension(name=\"numba.npyufunc._internal\",\n                               sources=[\"numba/npyufunc/_internal.c\"],\n                               include_dirs=[numpy.get_include()],\n                               depends=[\"numba/npyufunc/_ufunc.c\",\n                                        \"numba/npyufunc/_internal.h\",\n                                        \"numba/_pymodule.h\"])\n\next_mviewbuf = Extension(name='numba.mviewbuf',\n                         sources=['numba/mviewbuf.c'])\n\next_modules = [ext_dynfunc, ext_npymath_exports, ext_dispatcher,\n               ext_helperlib, ext_typeconv, ext_npyufunc_ufunc, ext_mviewbuf]\n\npackages = [\n    \"numba\",\n    \"numba.targets\",\n    \"numba.tests\",\n    \"numba.typing\",\n    \"numba.typeconv\",\n    \"numba.npyufunc\",\n    \"numba.pycc\",\n    \"numba.servicelib\",\n    \"numba.cuda\",\n    \"numba.cuda.cudadrv\",\n    \"numba.cuda.tests\",\n    \"numba.cuda.tests.cudadrv\",\n    \"numba.cuda.tests.cudadrv.data\",\n    \"numba.cuda.tests.cudapy\",\n]\n\nsetup(name='numba',\n      description=\"compiling Python code using LLVM\",\n      version=versioneer.get_version(),\n\n      classifiers=[\n        \"Development Status :: 4 - Beta\",\n        \"Intended Audience :: Developers\",\n        \"License :: OSI Approved :: BSD License\",\n        \"Operating System :: OS Independent\",\n        \"Programming Language :: Python\",\n        \"Programming Language :: Python :: 2.6\",\n        \"Programming Language :: Python :: 2.7\",\n        \"Programming Language :: Python :: 3.3\",\n        \"Programming Language :: Python :: 3.4\",\n        \"Topic :: Software Development :: Compilers\",\n      ],\n      package_data={\n        \"numba\": [\"*.c\", \"*.h\", \"*.cpp\", \"*.inc\"],\n        \"numba.npyufunc\": [\"*.c\", \"*.h\"],\n        \"numba.typeconv\": [\"*.cpp\", \"*.hpp\"],\n        \"numba.cuda.tests.cudadrv.data\": [\"*.ptx\"],\n      },\n      scripts=[\"numba/pycc/pycc\", \"bin/numba\"],\n      author=\"Continuum Analytics, Inc.\",\n      author_email=\"numba-users@continuum.io\",\n      url=\"http://numba.github.com\",\n      ext_modules=ext_modules,\n      packages=packages,\n      license=\"BSD\",\n      cmdclass=cmdclass,\n      **setup_args)\n\n", "path": "setup.py"}], "after_files": [{"content": "try:\n    # Try to use setuptools so as to enable support of the special\n    # \"Microsoft Visual C++ Compiler for Python 2.7\" (http://aka.ms/vcpython27)\n    # for building under Windows.\n    # Note setuptools >= 6.0 is required for this.\n    from setuptools import setup, Extension\nexcept ImportError:\n    from distutils.core import setup, Extension\n\nimport sys\nimport os\nimport numpy\nimport numpy.distutils.misc_util as np_misc\nimport versioneer\n\nversioneer.versionfile_source = 'numba/_version.py'\nversioneer.versionfile_build = 'numba/_version.py'\nversioneer.tag_prefix = ''\nversioneer.parentdir_prefix = 'numba-'\n\ncmdclass = versioneer.get_cmdclass()\n\nsetup_args = {\n    'long_description': open('README.rst').read(),\n}\n\nGCCFLAGS = [\"-std=c89\", \"-Wdeclaration-after-statement\", \"-Werror\"]\n\nif os.environ.get(\"NUMBA_GCC_FLAGS\"):\n    CFLAGS = GCCFLAGS\nelse:\n    CFLAGS = []\n\n\nif sys.platform == 'darwin' and sys.version_info[:2] == (2, 6):\n    cpp_link_args = ['-lstdc++']\nelse:\n    cpp_link_args = []\n\nnpymath_info = np_misc.get_info('npymath')\n\next_dynfunc = Extension(name='numba._dynfunc', sources=['numba/_dynfunc.c'],\n                        extra_compile_args=CFLAGS,\n                        depends=[\"numba/_pymodule.h\"])\n\next_npymath_exports = Extension(name='numba._npymath_exports',\n                                sources=['numba/_npymath_exports.c'],\n                                include_dirs=npymath_info['include_dirs'],\n                                libraries=npymath_info['libraries'],\n                                library_dirs=npymath_info['library_dirs'],\n                                define_macros=npymath_info['define_macros'])\n\n\next_dispatcher = Extension(name=\"numba._dispatcher\",\n                           include_dirs=[numpy.get_include()],\n                           sources=['numba/_dispatcher.c',\n                                    'numba/_dispatcherimpl.cpp',\n                                    'numba/typeconv/typeconv.cpp'],\n                           depends=[\"numba/_pymodule.h\",\n                                    \"numba/_dispatcher.h\"],\n                           extra_link_args=cpp_link_args)\n\next_helperlib = Extension(name=\"numba._helperlib\",\n                          include_dirs=[numpy.get_include()],\n                          sources=[\"numba/_helperlib.c\", \"numba/_math_c99.c\"],\n                          extra_compile_args=CFLAGS,\n                          depends=[\"numba/_pymodule.h\",\n                                   \"numba/_math_c99.h\",\n                                   \"numba/mathnames.inc\"])\n\next_typeconv = Extension(name=\"numba.typeconv._typeconv\",\n                         sources=[\"numba/typeconv/typeconv.cpp\",\n                                  \"numba/typeconv/_typeconv.cpp\"],\n                         depends=[\"numba/_pymodule.h\"],\n                         extra_link_args=cpp_link_args)\n\next_npyufunc_ufunc = Extension(name=\"numba.npyufunc._internal\",\n                               sources=[\"numba/npyufunc/_internal.c\"],\n                               include_dirs=[numpy.get_include()],\n                               depends=[\"numba/npyufunc/_ufunc.c\",\n                                        \"numba/npyufunc/_internal.h\",\n                                        \"numba/_pymodule.h\"])\n\next_mviewbuf = Extension(name='numba.mviewbuf',\n                         sources=['numba/mviewbuf.c'])\n\next_modules = [ext_dynfunc, ext_npymath_exports, ext_dispatcher,\n               ext_helperlib, ext_typeconv, ext_npyufunc_ufunc, ext_mviewbuf]\n\npackages = [\n    \"numba\",\n    \"numba.targets\",\n    \"numba.tests\",\n    \"numba.typing\",\n    \"numba.typeconv\",\n    \"numba.npyufunc\",\n    \"numba.pycc\",\n    \"numba.servicelib\",\n    \"numba.cuda\",\n    \"numba.cuda.cudadrv\",\n    \"numba.cuda.tests\",\n    \"numba.cuda.tests.cudadrv\",\n    \"numba.cuda.tests.cudadrv.data\",\n    \"numba.cuda.tests.cudapy\",\n]\n\nsetup(name='numba',\n      description=\"compiling Python code using LLVM\",\n      version=versioneer.get_version(),\n\n      classifiers=[\n        \"Development Status :: 4 - Beta\",\n        \"Intended Audience :: Developers\",\n        \"License :: OSI Approved :: BSD License\",\n        \"Operating System :: OS Independent\",\n        \"Programming Language :: Python\",\n        \"Programming Language :: Python :: 2.6\",\n        \"Programming Language :: Python :: 2.7\",\n        \"Programming Language :: Python :: 3.3\",\n        \"Programming Language :: Python :: 3.4\",\n        \"Topic :: Software Development :: Compilers\",\n      ],\n      package_data={\n        \"numba\": [\"*.c\", \"*.h\", \"*.cpp\", \"*.inc\"],\n        \"numba.npyufunc\": [\"*.c\", \"*.h\"],\n        \"numba.typeconv\": [\"*.cpp\", \"*.hpp\"],\n        \"numba.cuda.tests.cudadrv.data\": [\"*.ptx\"],\n      },\n      scripts=[\"numba/pycc/pycc\", \"bin/numba\"],\n      author=\"Continuum Analytics, Inc.\",\n      author_email=\"numba-users@continuum.io\",\n      url=\"http://numba.github.com\",\n      ext_modules=ext_modules,\n      packages=packages,\n      license=\"BSD\",\n      cmdclass=cmdclass,\n      **setup_args)\n\n", "path": "setup.py"}]}