prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Cleanup before releasing v.1.0
  * Remove any unused files
  * Remove any unused variable and functions (loads of those in config I'd think)
  * Remove any unused requirements
  * Update the version for requirements
  * Update and standardize the interface of older functions and add comments to them (probably won't have time for all, but at least some)
  
  </issue>
  <code>
  [start of setup.py]
  1 import setuptools
  2 
  3 about = {}
  4 with open("mindsdb/__about__.py") as fp:
  5     exec(fp.read(), about)
  6 
  7 long_description = open('README.md', encoding='utf-8').read()
  8 
  9 with open('requirements.txt') as req_file:
  10     requirements = req_file.read().splitlines()
  11 
  12 setuptools.setup(
  13     name=about['__title__'],
  14     version=about['__version__'],
  15     url=about['__github__'],
  16     download_url=about['__pypi__'],
  17     license=about['__license__'],
  18     author=about['__author__'],
  19     author_email=about['__email__'],
  20     description=about['__description__'],
  21     long_description=long_description,
  22     long_description_content_type="text/markdown",
  23     packages=setuptools.find_packages(),
  24     install_requires=requirements,
  25     classifiers=(
  26         "Programming Language :: Python :: 3",
  27         "License :: OSI Approved :: MIT License",
  28         "Operating System :: OS Independent",
  29     ),
  30     python_requires=">=3.3"
  31 )
  32
  [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
  @@ -1,4 +1,5 @@
   import setuptools
  +import subprocess
   
   about = {}
   with open("mindsdb/__about__.py") as fp:
  @@ -27,5 +28,10 @@
           "License :: OSI Approved :: MIT License",
           "Operating System :: OS Independent",
       ),
  -    python_requires=">=3.3"
  +    python_requires=">=3.6"
   )
  +
  +try:
  +    subprocess.call(['python3','-m','spacy','download','en'])
  +except:
  +    subprocess.call(['python','-m','spacy','download','en'])
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -1,4 +1,5 @@\n import setuptools\n+import subprocess\n \n about = {}\n with open(\"mindsdb/__about__.py\") as fp:\n@@ -27,5 +28,10 @@\n         \"License :: OSI Approved :: MIT License\",\n         \"Operating System :: OS Independent\",\n     ),\n-    python_requires=\">=3.3\"\n+    python_requires=\">=3.6\"\n )\n+\n+try:\n+    subprocess.call(['python3','-m','spacy','download','en'])\n+except:\n+    subprocess.call(['python','-m','spacy','download','en'])\n", "issue": "Cleanup before releasing v.1.0\n* Remove any unused files\r\n* Remove any unused variable and functions (loads of those in config I'd think)\r\n* Remove any unused requirements\r\n* Update the version for requirements\r\n* Update and standardize the interface of older functions and add comments to them (probably won't have time for all, but at least some)\n", "before_files": [{"content": "import setuptools\n\nabout = {}\nwith open(\"mindsdb/__about__.py\") as fp:\n    exec(fp.read(), about)\n\nlong_description = open('README.md', encoding='utf-8').read()\n\nwith open('requirements.txt') as req_file:\n    requirements = req_file.read().splitlines()\n\nsetuptools.setup(\n    name=about['__title__'],\n    version=about['__version__'],\n    url=about['__github__'],\n    download_url=about['__pypi__'],\n    license=about['__license__'],\n    author=about['__author__'],\n    author_email=about['__email__'],\n    description=about['__description__'],\n    long_description=long_description,\n    long_description_content_type=\"text/markdown\",\n    packages=setuptools.find_packages(),\n    install_requires=requirements,\n    classifiers=(\n        \"Programming Language :: Python :: 3\",\n        \"License :: OSI Approved :: MIT License\",\n        \"Operating System :: OS Independent\",\n    ),\n    python_requires=\">=3.3\"\n)\n", "path": "setup.py"}]}