prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Cookiecutter doesn't work on 0.8.7 release
  **Describe the bug**
  `mesa startproject` fails after `pipenv install mesa`
  ```
  A valid repository for "/home/neil/.local/share/virtualenvs/baseline-economy-6fg_iky1/lib/python3.8/site-packages/mesa/cookiecutter-mesa" could not be found in the following locations:
  ...
  ```
  
  **Expected behavior**
  Generate the project layout
  
  **To Reproduce**
  - pipenv install mesa
  - mesa startproject
  
  **Additional context**
  The cookiecutter directory from the repo is missing from the installation.
  Additionally there is no help message for `startproject` when you run `mesa --help`
  
  
  
  </issue>
  <code>
  [start of setup.py]
  1 #!/usr/bin/env python
  2 # -*- coding: utf-8 -*-
  3 import re
  4 
  5 from setuptools import setup, find_packages
  6 from codecs import open
  7 
  8 requires = ["click", "cookiecutter", "networkx", "numpy", "pandas", "tornado", "tqdm"]
  9 
  10 extras_require = {
  11     "dev": ["coverage", "flake8", "pytest >= 3.6", "pytest-cov", "sphinx"],
  12     "docs": ["sphinx"],
  13 }
  14 
  15 version = ""
  16 with open("mesa/__init__.py", "r") as fd:
  17     version = re.search(
  18         r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE
  19     ).group(1)
  20 
  21 with open("README.rst", "rb", encoding="utf-8") as f:
  22     readme = f.read()
  23 
  24 setup(
  25     name="Mesa",
  26     version=version,
  27     description="Agent-based modeling (ABM) in Python 3+",
  28     long_description=readme,
  29     author="Project Mesa Team",
  30     author_email="projectmesa@googlegroups.com",
  31     url="https://github.com/projectmesa/mesa",
  32     packages=find_packages(),
  33     package_data={
  34         "mesa": [
  35             "visualization/templates/*.html",
  36             "visualization/templates/css/*",
  37             "visualization/templates/fonts/*",
  38             "visualization/templates/js/*",
  39         ],
  40         "cookiecutter-mesa": ["cookiecutter-mesa/*"],
  41     },
  42     include_package_data=True,
  43     install_requires=requires,
  44     extras_require=extras_require,
  45     keywords="agent based modeling model ABM simulation multi-agent",
  46     license="Apache 2.0",
  47     zip_safe=False,
  48     classifiers=[
  49         "Topic :: Scientific/Engineering",
  50         "Topic :: Scientific/Engineering :: Artificial Life",
  51         "Topic :: Scientific/Engineering :: Artificial Intelligence",
  52         "Intended Audience :: Science/Research",
  53         "Programming Language :: Python :: 3 :: Only",
  54         "License :: OSI Approved :: Apache Software License",
  55         "Operating System :: OS Independent",
  56         "Development Status :: 3 - Alpha",
  57         "Natural Language :: English",
  58     ],
  59     entry_points="""
  60         [console_scripts]
  61         mesa=mesa.main:cli
  62     """,
  63 )
  64
  [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
  @@ -8,7 +8,7 @@
   requires = ["click", "cookiecutter", "networkx", "numpy", "pandas", "tornado", "tqdm"]
   
   extras_require = {
  -    "dev": ["coverage", "flake8", "pytest >= 3.6", "pytest-cov", "sphinx"],
  +    "dev": ["coverage", "flake8", "pytest >= 4.6", "pytest-cov", "sphinx"],
       "docs": ["sphinx"],
   }
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -8,7 +8,7 @@\n requires = [\"click\", \"cookiecutter\", \"networkx\", \"numpy\", \"pandas\", \"tornado\", \"tqdm\"]\n \n extras_require = {\n-    \"dev\": [\"coverage\", \"flake8\", \"pytest >= 3.6\", \"pytest-cov\", \"sphinx\"],\n+    \"dev\": [\"coverage\", \"flake8\", \"pytest >= 4.6\", \"pytest-cov\", \"sphinx\"],\n     \"docs\": [\"sphinx\"],\n }\n", "issue": "Cookiecutter doesn't work on 0.8.7 release\n**Describe the bug**\r\n`mesa startproject` fails after `pipenv install mesa`\r\n```\r\nA valid repository for \"/home/neil/.local/share/virtualenvs/baseline-economy-6fg_iky1/lib/python3.8/site-packages/mesa/cookiecutter-mesa\" could not be found in the following locations:\r\n...\r\n```\r\n\r\n**Expected behavior**\r\nGenerate the project layout\r\n\r\n**To Reproduce**\r\n- pipenv install mesa\r\n- mesa startproject\r\n\r\n**Additional context**\r\nThe cookiecutter directory from the repo is missing from the installation.\r\nAdditionally there is no help message for `startproject` when you run `mesa --help`\r\n\r\n\n", "before_files": [{"content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\nimport re\n\nfrom setuptools import setup, find_packages\nfrom codecs import open\n\nrequires = [\"click\", \"cookiecutter\", \"networkx\", \"numpy\", \"pandas\", \"tornado\", \"tqdm\"]\n\nextras_require = {\n    \"dev\": [\"coverage\", \"flake8\", \"pytest >= 3.6\", \"pytest-cov\", \"sphinx\"],\n    \"docs\": [\"sphinx\"],\n}\n\nversion = \"\"\nwith open(\"mesa/__init__.py\", \"r\") as fd:\n    version = re.search(\n        r'^__version__\\s*=\\s*[\\'\"]([^\\'\"]*)[\\'\"]', fd.read(), re.MULTILINE\n    ).group(1)\n\nwith open(\"README.rst\", \"rb\", encoding=\"utf-8\") as f:\n    readme = f.read()\n\nsetup(\n    name=\"Mesa\",\n    version=version,\n    description=\"Agent-based modeling (ABM) in Python 3+\",\n    long_description=readme,\n    author=\"Project Mesa Team\",\n    author_email=\"projectmesa@googlegroups.com\",\n    url=\"https://github.com/projectmesa/mesa\",\n    packages=find_packages(),\n    package_data={\n        \"mesa\": [\n            \"visualization/templates/*.html\",\n            \"visualization/templates/css/*\",\n            \"visualization/templates/fonts/*\",\n            \"visualization/templates/js/*\",\n        ],\n        \"cookiecutter-mesa\": [\"cookiecutter-mesa/*\"],\n    },\n    include_package_data=True,\n    install_requires=requires,\n    extras_require=extras_require,\n    keywords=\"agent based modeling model ABM simulation multi-agent\",\n    license=\"Apache 2.0\",\n    zip_safe=False,\n    classifiers=[\n        \"Topic :: Scientific/Engineering\",\n        \"Topic :: Scientific/Engineering :: Artificial Life\",\n        \"Topic :: Scientific/Engineering :: Artificial Intelligence\",\n        \"Intended Audience :: Science/Research\",\n        \"Programming Language :: Python :: 3 :: Only\",\n        \"License :: OSI Approved :: Apache Software License\",\n        \"Operating System :: OS Independent\",\n        \"Development Status :: 3 - Alpha\",\n        \"Natural Language :: English\",\n    ],\n    entry_points=\"\"\"\n        [console_scripts]\n        mesa=mesa.main:cli\n    \"\"\",\n)\n", "path": "setup.py"}]}