prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Ensure to work with Python 3.7
  
  
  </issue>
  <code>
  [start of setup.py]
  1 # -*- coding: utf-8 -*-
  2 
  3 import sys
  4 
  5 from setuptools import setup, find_packages
  6 
  7 
  8 with open('VERSION.txt', 'r') as f:
  9     pkg_version = f.read().strip()
  10 
  11 
  12 def get_long_description():
  13     with open('README.rst', 'r') as f:
  14         return f.read()
  15 
  16 
  17 install_requires = [
  18     'PyMySQL == 0.7.11',
  19     'beautifulsoup4 >= 4.1.1',
  20     'django >= 1.11,<2.0',
  21     'django-contrib-comments == 1.8.0',
  22     'django-tinymce == 2.7.0',
  23     'django-uuslug == 1.1.8',
  24     'html2text',
  25     'kobo == 0.7.0',
  26     'odfpy >= 0.9.6',
  27     'python-bugzilla',
  28     'six',
  29     'xmltodict',
  30 ]
  31 
  32 if sys.version_info.major < 3:
  33     install_requires += [
  34         'enum34',
  35     ]
  36 
  37 extras_require = {
  38     # Required for tcms.core.contrib.auth.backends.KerberosBackend
  39     'krbauth': [
  40         'kerberos == 1.2.5'
  41     ],
  42 
  43     # Packages for building documentation
  44     'docs': [
  45         'Sphinx >= 1.1.2',
  46         'sphinx_rtd_theme',
  47     ],
  48 
  49     # Necessary packages for running tests
  50     'tests': [
  51         'coverage',
  52         'factory_boy',
  53         'flake8',
  54         'mock',
  55         'pytest',
  56         'pytest-cov',
  57         'pytest-django',
  58     ],
  59 
  60     # Contain tools that assists the development
  61     'devtools': [
  62         'django-debug-toolbar == 1.7',
  63         'tox',
  64         'django-extensions',
  65         'pygraphviz',
  66         'future-breakpoint',
  67     ],
  68 
  69     # Required packages required to run async tasks
  70     'async': [
  71         'celery == 4.1.0',
  72     ]
  73 }
  74 
  75 
  76 setup(
  77     name='Nitrate',
  78     version=pkg_version,
  79     description='Test Case Management System',
  80     long_description=get_long_description(),
  81     author='Nitrate Team',
  82     maintainer='Chenxiong Qi',
  83     maintainer_email='qcxhome@gmail.com',
  84     url='https://github.com/Nitrate/Nitrate/',
  85     license='GPLv2+',
  86     keywords='test case',
  87     install_requires=install_requires,
  88     extras_require=extras_require,
  89     packages=find_packages(),
  90     include_package_data=True,
  91     classifiers=[
  92         'Framework :: Django',
  93         'Framework :: Django :: 1.11',
  94         'Intended Audience :: Developers',
  95         'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
  96         'Programming Language :: Python :: 2',
  97         'Programming Language :: Python :: 2.7',
  98         'Programming Language :: Python :: 3',
  99         'Programming Language :: Python :: 3.6',
  100         'Topic :: Software Development :: Quality Assurance',
  101         'Topic :: Software Development :: Testing',
  102     ],
  103 )
  104
  [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
  @@ -97,6 +97,7 @@
           'Programming Language :: Python :: 2.7',
           'Programming Language :: Python :: 3',
           'Programming Language :: Python :: 3.6',
  +        'Programming Language :: Python :: 3.7',
           'Topic :: Software Development :: Quality Assurance',
           'Topic :: Software Development :: Testing',
       ],
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -97,6 +97,7 @@\n         'Programming Language :: Python :: 2.7',\n         'Programming Language :: Python :: 3',\n         'Programming Language :: Python :: 3.6',\n+        'Programming Language :: Python :: 3.7',\n         'Topic :: Software Development :: Quality Assurance',\n         'Topic :: Software Development :: Testing',\n     ],\n", "issue": "Ensure to work with Python 3.7\n\n", "before_files": [{"content": "# -*- coding: utf-8 -*-\n\nimport sys\n\nfrom setuptools import setup, find_packages\n\n\nwith open('VERSION.txt', 'r') as f:\n    pkg_version = f.read().strip()\n\n\ndef get_long_description():\n    with open('README.rst', 'r') as f:\n        return f.read()\n\n\ninstall_requires = [\n    'PyMySQL == 0.7.11',\n    'beautifulsoup4 >= 4.1.1',\n    'django >= 1.11,<2.0',\n    'django-contrib-comments == 1.8.0',\n    'django-tinymce == 2.7.0',\n    'django-uuslug == 1.1.8',\n    'html2text',\n    'kobo == 0.7.0',\n    'odfpy >= 0.9.6',\n    'python-bugzilla',\n    'six',\n    'xmltodict',\n]\n\nif sys.version_info.major < 3:\n    install_requires += [\n        'enum34',\n    ]\n\nextras_require = {\n    # Required for tcms.core.contrib.auth.backends.KerberosBackend\n    'krbauth': [\n        'kerberos == 1.2.5'\n    ],\n\n    # Packages for building documentation\n    'docs': [\n        'Sphinx >= 1.1.2',\n        'sphinx_rtd_theme',\n    ],\n\n    # Necessary packages for running tests\n    'tests': [\n        'coverage',\n        'factory_boy',\n        'flake8',\n        'mock',\n        'pytest',\n        'pytest-cov',\n        'pytest-django',\n    ],\n\n    # Contain tools that assists the development\n    'devtools': [\n        'django-debug-toolbar == 1.7',\n        'tox',\n        'django-extensions',\n        'pygraphviz',\n        'future-breakpoint',\n    ],\n\n    # Required packages required to run async tasks\n    'async': [\n        'celery == 4.1.0',\n    ]\n}\n\n\nsetup(\n    name='Nitrate',\n    version=pkg_version,\n    description='Test Case Management System',\n    long_description=get_long_description(),\n    author='Nitrate Team',\n    maintainer='Chenxiong Qi',\n    maintainer_email='qcxhome@gmail.com',\n    url='https://github.com/Nitrate/Nitrate/',\n    license='GPLv2+',\n    keywords='test case',\n    install_requires=install_requires,\n    extras_require=extras_require,\n    packages=find_packages(),\n    include_package_data=True,\n    classifiers=[\n        'Framework :: Django',\n        'Framework :: Django :: 1.11',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',\n        'Programming Language :: Python :: 2',\n        'Programming Language :: Python :: 2.7',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.6',\n        'Topic :: Software Development :: Quality Assurance',\n        'Topic :: Software Development :: Testing',\n    ],\n)\n", "path": "setup.py"}]}