prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  CITATION text file not distributed
  
  
  </issue>
  <code>
  [start of setup.py]
  1 #! /usr/bin/env python3
  2 
  3 import os
  4 from setuptools import setup, find_packages
  5 
  6 
  7 here = os.path.abspath(os.path.dirname(__file__))
  8 
  9 
  10 def read(fname):
  11     return open(os.path.join(here, fname)).read()
  12 
  13 
  14 extra_files = {
  15     "WrightTools": [
  16         "datasets",
  17         "datasets/*",
  18         "datasets/*/*",
  19         "datasets/*/*/*",
  20         "datasets/*/*/*/*",
  21         "VERSION",
  22         "WT5_VERSION",
  23     ]
  24 }
  25 
  26 with open(os.path.join(here, "WrightTools", "VERSION")) as version_file:
  27     version = version_file.read().strip()
  28 
  29 setup(
  30     name="WrightTools",
  31     packages=find_packages(exclude=("tests", "tests.*")),
  32     package_data=extra_files,
  33     python_requires=">=3.5",
  34     setup_requires=["pytest-runner"],
  35     tests_require=[
  36         "pytest",
  37         "pytest-cov",
  38         "sphinx==1.6.5",
  39         "sphinx-gallery==0.1.12",
  40         "sphinx-rtd-theme",
  41     ],
  42     install_requires=[
  43         "h5py",
  44         "imageio",
  45         "matplotlib>=2.0",
  46         "numexpr",
  47         "numpy",
  48         "python-dateutil",
  49         "pytz",
  50         "scipy",
  51         "tidy_headers",
  52     ],
  53     extras_require={
  54         "docs": ["sphinx-gallery==0.1.12"],
  55         "dev": ["black", "pre-commit", "pydocstyle"],
  56     },
  57     version=version,
  58     description="Tools for loading, processing, and plotting multidimensional spectroscopy data.",
  59     long_description=read("README.rst"),
  60     author="WrightTools Developers",
  61     license="MIT",
  62     url="http://wright.tools",
  63     keywords="spectroscopy science multidimensional visualization",
  64     classifiers=[
  65         "Development Status :: 5 - Production/Stable",
  66         "Intended Audience :: Science/Research",
  67         "License :: OSI Approved :: MIT License",
  68         "Natural Language :: English",
  69         "Programming Language :: Python :: 3",
  70         "Programming Language :: Python :: 3.5",
  71         "Programming Language :: Python :: 3.6",
  72         "Topic :: Scientific/Engineering",
  73     ],
  74 )
  75
  [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
  @@ -18,6 +18,7 @@
           "datasets/*/*",
           "datasets/*/*/*",
           "datasets/*/*/*/*",
  +        "CITATION",
           "VERSION",
           "WT5_VERSION",
       ]
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -18,6 +18,7 @@\n         \"datasets/*/*\",\n         \"datasets/*/*/*\",\n         \"datasets/*/*/*/*\",\n+        \"CITATION\",\n         \"VERSION\",\n         \"WT5_VERSION\",\n     ]\n", "issue": "CITATION text file not distributed\n\n", "before_files": [{"content": "#! /usr/bin/env python3\n\nimport os\nfrom setuptools import setup, find_packages\n\n\nhere = os.path.abspath(os.path.dirname(__file__))\n\n\ndef read(fname):\n    return open(os.path.join(here, fname)).read()\n\n\nextra_files = {\n    \"WrightTools\": [\n        \"datasets\",\n        \"datasets/*\",\n        \"datasets/*/*\",\n        \"datasets/*/*/*\",\n        \"datasets/*/*/*/*\",\n        \"VERSION\",\n        \"WT5_VERSION\",\n    ]\n}\n\nwith open(os.path.join(here, \"WrightTools\", \"VERSION\")) as version_file:\n    version = version_file.read().strip()\n\nsetup(\n    name=\"WrightTools\",\n    packages=find_packages(exclude=(\"tests\", \"tests.*\")),\n    package_data=extra_files,\n    python_requires=\">=3.5\",\n    setup_requires=[\"pytest-runner\"],\n    tests_require=[\n        \"pytest\",\n        \"pytest-cov\",\n        \"sphinx==1.6.5\",\n        \"sphinx-gallery==0.1.12\",\n        \"sphinx-rtd-theme\",\n    ],\n    install_requires=[\n        \"h5py\",\n        \"imageio\",\n        \"matplotlib>=2.0\",\n        \"numexpr\",\n        \"numpy\",\n        \"python-dateutil\",\n        \"pytz\",\n        \"scipy\",\n        \"tidy_headers\",\n    ],\n    extras_require={\n        \"docs\": [\"sphinx-gallery==0.1.12\"],\n        \"dev\": [\"black\", \"pre-commit\", \"pydocstyle\"],\n    },\n    version=version,\n    description=\"Tools for loading, processing, and plotting multidimensional spectroscopy data.\",\n    long_description=read(\"README.rst\"),\n    author=\"WrightTools Developers\",\n    license=\"MIT\",\n    url=\"http://wright.tools\",\n    keywords=\"spectroscopy science multidimensional visualization\",\n    classifiers=[\n        \"Development Status :: 5 - Production/Stable\",\n        \"Intended Audience :: Science/Research\",\n        \"License :: OSI Approved :: MIT License\",\n        \"Natural Language :: English\",\n        \"Programming Language :: Python :: 3\",\n        \"Programming Language :: Python :: 3.5\",\n        \"Programming Language :: Python :: 3.6\",\n        \"Topic :: Scientific/Engineering\",\n    ],\n)\n", "path": "setup.py"}]}