We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Fix simple typo: packge -> package
There is a small typo in setup.py.
Should read package rather than packge.



--- 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 import io
2 import os
3 import re
4 
5 try:
6     from setuptools import setup
7 except ImportError:
8     from distutils.core import setup
9 
10 #==============================================================================
11 # Utilities
12 #==============================================================================
13 
14 def read(path, encoding='utf-8'):
15     path = os.path.join(os.path.dirname(__file__), path)
16     with io.open(path, encoding=encoding) as fp:
17         return fp.read()
18 
19 
20 def get_install_requirements(path):
21     content = read(path)
22     return [
23         req
24         for req in content.split("\n")
25         if req != '' and not req.startswith('#')
26     ]
27 
28 
29 def version(path):
30     """Obtain the packge version from a python file e.g. pkg/__init__.py
31 
32     See <https://packaging.python.org/en/latest/single_source_version.html>.
33     """
34     version_file = read(path)
35     version_match = re.search(r"""^__version__ = ['"]([^'"]*)['"]""",
36                               version_file, re.M)
37     if version_match:
38         return version_match.group(1)
39     raise RuntimeError("Unable to find version string.")
40 
41 HERE = os.path.abspath(os.path.dirname(__file__))
42 
43 # From https://github.com/jupyterlab/jupyterlab/blob/master/setupbase.py, BSD licensed
44 def find_packages(top=HERE):
45     """
46     Find all of the packages.
47     """
48     packages = []
49     for d, dirs, _ in os.walk(top, followlinks=True):
50         if os.path.exists(os.path.join(d, '__init__.py')):
51             packages.append(os.path.relpath(d, top).replace(os.path.sep, '.'))
52         elif d != top:
53             # Do not look for packages in subfolders if current is not a package
54             dirs[:] = []
55     return packages
56 
57 #==============================================================================
58 # Variables
59 #==============================================================================
60 
61 DESCRIPTION         = "Altair: A declarative statistical visualization library for Python."
62 LONG_DESCRIPTION    = read("README.md")
63 LONG_DESCRIPTION_CONTENT_TYPE = 'text/markdown'
64 NAME                = "altair"
65 PACKAGES            = find_packages()
66 AUTHOR              = "Brian E. Granger / Jake VanderPlas"
67 AUTHOR_EMAIL        = "jakevdp@gmail.com"
68 URL                 = 'http://altair-viz.github.io'
69 DOWNLOAD_URL        = 'http://github.com/altair-viz/altair/'
70 LICENSE             = 'BSD 3-clause'
71 INSTALL_REQUIRES    = get_install_requirements("requirements.txt")
72 PYTHON_REQUIRES     = ">=3.5"
73 DEV_REQUIRES        = get_install_requirements("requirements_dev.txt")
74 VERSION             = version('altair/__init__.py')
75 
76 
77 setup(name=NAME,
78       version=VERSION,
79       description=DESCRIPTION,
80       long_description=LONG_DESCRIPTION,
81       long_description_content_type=LONG_DESCRIPTION_CONTENT_TYPE,
82       author=AUTHOR,
83       author_email=AUTHOR_EMAIL,
84       url=URL,
85       download_url=DOWNLOAD_URL,
86       license=LICENSE,
87       packages=PACKAGES,
88       include_package_data=True,
89       install_requires=INSTALL_REQUIRES,
90       python_requires=PYTHON_REQUIRES,
91       extras_require={
92         'dev': DEV_REQUIRES
93       },
94       classifiers=[
95         'Development Status :: 5 - Production/Stable',
96         'Environment :: Console',
97         'Intended Audience :: Science/Research',
98         'License :: OSI Approved :: BSD License',
99         'Natural Language :: English',
100         'Programming Language :: Python :: 3.5',
101         'Programming Language :: Python :: 3.6',
102         'Programming Language :: Python :: 3.7',
103         'Programming Language :: Python :: 3.8',
104       ],
105      )
106
```
--- 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()

```

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -27,7 +27,7 @@
 
 
 def version(path):
-    """Obtain the packge version from a python file e.g. pkg/__init__.py
+    """Obtain the package version from a python file e.g. pkg/__init__.py
 
     See <https://packaging.python.org/en/latest/single_source_version.html>.
     """

{"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -27,7 +27,7 @@\n \n \n def version(path):\n-    \"\"\"Obtain the packge version from a python file e.g. pkg/__init__.py\n+    \"\"\"Obtain the package version from a python file e.g. pkg/__init__.py\n \n     See <https://packaging.python.org/en/latest/single_source_version.html>.\n     \"\"\"\n", "issue": "Fix simple typo: packge -> package\nThere is a small typo in setup.py.\nShould read package rather than packge.\n\n\n", "before_files": [{"content": "import io\nimport os\nimport re\n\ntry:\n    from setuptools import setup\nexcept ImportError:\n    from distutils.core import setup\n\n#==============================================================================\n# Utilities\n#==============================================================================\n\ndef read(path, encoding='utf-8'):\n    path = os.path.join(os.path.dirname(__file__), path)\n    with io.open(path, encoding=encoding) as fp:\n        return fp.read()\n\n\ndef get_install_requirements(path):\n    content = read(path)\n    return [\n        req\n        for req in content.split(\"\\n\")\n        if req != '' and not req.startswith('#')\n    ]\n\n\ndef version(path):\n    \"\"\"Obtain the packge version from a python file e.g. pkg/__init__.py\n\n    See <https://packaging.python.org/en/latest/single_source_version.html>.\n    \"\"\"\n    version_file = read(path)\n    version_match = re.search(r\"\"\"^__version__ = ['\"]([^'\"]*)['\"]\"\"\",\n                              version_file, re.M)\n    if version_match:\n        return version_match.group(1)\n    raise RuntimeError(\"Unable to find version string.\")\n\nHERE = os.path.abspath(os.path.dirname(__file__))\n\n# From https://github.com/jupyterlab/jupyterlab/blob/master/setupbase.py, BSD licensed\ndef find_packages(top=HERE):\n    \"\"\"\n    Find all of the packages.\n    \"\"\"\n    packages = []\n    for d, dirs, _ in os.walk(top, followlinks=True):\n        if os.path.exists(os.path.join(d, '__init__.py')):\n            packages.append(os.path.relpath(d, top).replace(os.path.sep, '.'))\n        elif d != top:\n            # Do not look for packages in subfolders if current is not a package\n            dirs[:] = []\n    return packages\n\n#==============================================================================\n# Variables\n#==============================================================================\n\nDESCRIPTION         = \"Altair: A declarative statistical visualization library for Python.\"\nLONG_DESCRIPTION    = read(\"README.md\")\nLONG_DESCRIPTION_CONTENT_TYPE = 'text/markdown'\nNAME                = \"altair\"\nPACKAGES            = find_packages()\nAUTHOR              = \"Brian E. Granger / Jake VanderPlas\"\nAUTHOR_EMAIL        = \"jakevdp@gmail.com\"\nURL                 = 'http://altair-viz.github.io'\nDOWNLOAD_URL        = 'http://github.com/altair-viz/altair/'\nLICENSE             = 'BSD 3-clause'\nINSTALL_REQUIRES    = get_install_requirements(\"requirements.txt\")\nPYTHON_REQUIRES     = \">=3.5\"\nDEV_REQUIRES        = get_install_requirements(\"requirements_dev.txt\")\nVERSION             = version('altair/__init__.py')\n\n\nsetup(name=NAME,\n      version=VERSION,\n      description=DESCRIPTION,\n      long_description=LONG_DESCRIPTION,\n      long_description_content_type=LONG_DESCRIPTION_CONTENT_TYPE,\n      author=AUTHOR,\n      author_email=AUTHOR_EMAIL,\n      url=URL,\n      download_url=DOWNLOAD_URL,\n      license=LICENSE,\n      packages=PACKAGES,\n      include_package_data=True,\n      install_requires=INSTALL_REQUIRES,\n      python_requires=PYTHON_REQUIRES,\n      extras_require={\n        'dev': DEV_REQUIRES\n      },\n      classifiers=[\n        'Development Status :: 5 - Production/Stable',\n        'Environment :: Console',\n        'Intended Audience :: Science/Research',\n        'License :: OSI Approved :: BSD License',\n        'Natural Language :: English',\n        'Programming Language :: Python :: 3.5',\n        'Programming Language :: Python :: 3.6',\n        'Programming Language :: Python :: 3.7',\n        'Programming Language :: Python :: 3.8',\n      ],\n     )\n", "path": "setup.py"}], "after_files": [{"content": "import io\nimport os\nimport re\n\ntry:\n    from setuptools import setup\nexcept ImportError:\n    from distutils.core import setup\n\n#==============================================================================\n# Utilities\n#==============================================================================\n\ndef read(path, encoding='utf-8'):\n    path = os.path.join(os.path.dirname(__file__), path)\n    with io.open(path, encoding=encoding) as fp:\n        return fp.read()\n\n\ndef get_install_requirements(path):\n    content = read(path)\n    return [\n        req\n        for req in content.split(\"\\n\")\n        if req != '' and not req.startswith('#')\n    ]\n\n\ndef version(path):\n    \"\"\"Obtain the package version from a python file e.g. pkg/__init__.py\n\n    See <https://packaging.python.org/en/latest/single_source_version.html>.\n    \"\"\"\n    version_file = read(path)\n    version_match = re.search(r\"\"\"^__version__ = ['\"]([^'\"]*)['\"]\"\"\",\n                              version_file, re.M)\n    if version_match:\n        return version_match.group(1)\n    raise RuntimeError(\"Unable to find version string.\")\n\nHERE = os.path.abspath(os.path.dirname(__file__))\n\n# From https://github.com/jupyterlab/jupyterlab/blob/master/setupbase.py, BSD licensed\ndef find_packages(top=HERE):\n    \"\"\"\n    Find all of the packages.\n    \"\"\"\n    packages = []\n    for d, dirs, _ in os.walk(top, followlinks=True):\n        if os.path.exists(os.path.join(d, '__init__.py')):\n            packages.append(os.path.relpath(d, top).replace(os.path.sep, '.'))\n        elif d != top:\n            # Do not look for packages in subfolders if current is not a package\n            dirs[:] = []\n    return packages\n\n#==============================================================================\n# Variables\n#==============================================================================\n\nDESCRIPTION         = \"Altair: A declarative statistical visualization library for Python.\"\nLONG_DESCRIPTION    = read(\"README.md\")\nLONG_DESCRIPTION_CONTENT_TYPE = 'text/markdown'\nNAME                = \"altair\"\nPACKAGES            = find_packages()\nAUTHOR              = \"Brian E. Granger / Jake VanderPlas\"\nAUTHOR_EMAIL        = \"jakevdp@gmail.com\"\nURL                 = 'http://altair-viz.github.io'\nDOWNLOAD_URL        = 'http://github.com/altair-viz/altair/'\nLICENSE             = 'BSD 3-clause'\nINSTALL_REQUIRES    = get_install_requirements(\"requirements.txt\")\nPYTHON_REQUIRES     = \">=3.5\"\nDEV_REQUIRES        = get_install_requirements(\"requirements_dev.txt\")\nVERSION             = version('altair/__init__.py')\n\n\nsetup(name=NAME,\n      version=VERSION,\n      description=DESCRIPTION,\n      long_description=LONG_DESCRIPTION,\n      long_description_content_type=LONG_DESCRIPTION_CONTENT_TYPE,\n      author=AUTHOR,\n      author_email=AUTHOR_EMAIL,\n      url=URL,\n      download_url=DOWNLOAD_URL,\n      license=LICENSE,\n      packages=PACKAGES,\n      include_package_data=True,\n      install_requires=INSTALL_REQUIRES,\n      python_requires=PYTHON_REQUIRES,\n      extras_require={\n        'dev': DEV_REQUIRES\n      },\n      classifiers=[\n        'Development Status :: 5 - Production/Stable',\n        'Environment :: Console',\n        'Intended Audience :: Science/Research',\n        'License :: OSI Approved :: BSD License',\n        'Natural Language :: English',\n        'Programming Language :: Python :: 3.5',\n        'Programming Language :: Python :: 3.6',\n        'Programming Language :: Python :: 3.7',\n        'Programming Language :: Python :: 3.8',\n      ],\n     )\n", "path": "setup.py"}]}