prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  [BUG] resources/suite_output.html file is missing when installing not via git
  **Describe the bug**
  can't use save_as_html because suite_output.html file is missing
  
  **To Reproduce**
  pip install deepchecks
  suite_result.save_as_html()
  
  **Expected behavior**
  save as html
  
  **Environment (please complete the following information):**
   - OS: linux
   - Python Version: 3.7
   - Deepchecks Version: 0.3.1
  
  
  </issue>
  <code>
  [start of setup.py]
  1 # ----------------------------------------------------------------------------
  2 # Copyright (C) 2021 Deepchecks (https://www.deepchecks.com)
  3 #
  4 # This file is part of Deepchecks.
  5 # Deepchecks is distributed under the terms of the GNU Affero General
  6 # Public License (version 3 or later).
  7 # You should have received a copy of the GNU Affero General Public License
  8 # along with Deepchecks.  If not, see <http://www.gnu.org/licenses/>.
  9 # ----------------------------------------------------------------------------
  10 #
  11 """
  12 
  13 |build| |Documentation Status| |pkgVersion| |pyVersions|
  14 |Maintainability| |Coverage Status|
  15 
  16 .. image:: https://raw.githubusercontent.com/deepchecks/deepchecks/main/docs/images/deepchecks-logo-with-white-wide-back.png
  17   :target: https://github.com/deepchecks/deepchecks
  18 
  19 Deepchecks is a Python package for comprehensively validating your machine learning models and data with minimal effort.
  20 This includes checks related to various types of issues, such as model performance, data integrity,
  21 distribution mismatches, and more.
  22 
  23 What Do You Need in Order to Start Validating?
  24 ----------------------------------------------
  25 
  26 Depending on your phase and what you wise to validate, you'll need a
  27 subset of the following:
  28 
  29 -  Raw data (before pre-processing such as OHE, string processing,
  30    etc.), with optional labels
  31 
  32 -  The model's training data with labels
  33 
  34 -  Test data (which the model isn't exposed to) with labels
  35 
  36 -  A model compatible with scikit-learn API that you wish to validate
  37    (e.g. RandomForest, XGBoost)
  38 
  39 Deepchecks validation accompanies you from the initial phase when you
  40 have only raw data, through the data splits, and to the final stage of
  41 having a trained model that you wish to evaluate. Accordingly, each
  42 phase requires different assets for the validation. See more about
  43 typical usage scenarios and the built-in suites in the
  44 `docs <https://docs.deepchecks.com/?utm_source=pypi.org&utm_medium=referral&utm_campaign=readme>`__.
  45 
  46 Installation
  47 ------------
  48 
  49 Using pip
  50 ~~~~~~~~~
  51 
  52 .. code:: bash
  53 
  54    pip install deepchecks #--upgrade --user
  55 
  56 Using conda
  57 ~~~~~~~~~~~
  58 
  59 .. code:: bash
  60 
  61    conda install -c deepchecks deepchecks
  62 
  63 .. |build| image:: https://github.com/deepchecks/deepchecks/actions/workflows/build.yml/badge.svg
  64 .. |Documentation Status| image:: https://readthedocs.org/projects/deepchecks/badge/?version=latest
  65    :target: https://docs.deepchecks.com/en/latest/?badge=latest
  66 .. |pkgVersion| image:: https://img.shields.io/pypi/v/deepchecks
  67 .. |pyVersions| image:: https://img.shields.io/pypi/pyversions/deepchecks
  68 .. |Maintainability| image:: https://api.codeclimate.com/v1/badges/970b11794144139975fa/maintainability
  69    :target: https://codeclimate.com/github/deepchecks/deepchecks/maintainability
  70 .. |Coverage Status| image:: https://coveralls.io/repos/github/deepchecks/deepchecks/badge.svg?branch=main
  71    :target: https://coveralls.io/github/deepchecks/deepchecks?branch=main
  72 
  73 """
  74 
  75 import setuptools
  76 from setuptools import setup
  77 from distutils.util import convert_path
  78 import os
  79 
  80 main_ns = {}
  81 DOCLINES = (__doc__ or '').split("\n")
  82 
  83 with open(os.path.join('./', 'VERSION')) as version_file:
  84     VER = version_file.read().strip()
  85 
  86 requirementPath = os.path.dirname(os.path.realpath(__file__)) + '/requirements.txt'
  87 install_requires = []
  88 if os.path.isfile(requirementPath):
  89     with open(requirementPath) as f:
  90         install_requires = f.read().splitlines()
  91 
  92 
  93 
  94 
  95 setup(
  96     name='deepchecks',
  97     version=VER,
  98     packages=setuptools.find_packages(),
  99     install_requires=install_requires,
  100     license_files = ('LICENSE', ),
  101     description = DOCLINES[0],
  102     long_description="\n".join(DOCLINES[2:]),
  103     author = 'deepchecks',  
  104     author_email = 'info@deepchecks.com', 
  105     url = 'https://github.com/deepchecks/deepchecks',
  106     download_url = "https://github.com/deepchecks/deepchecks/releases/download/{0}/deepchecks-{0}.tar.gz".format(VER),
  107     keywords = ['Software Development', 'Machine Learning'],
  108     include_package_data=True,
  109     classifiers         = [
  110         'Intended Audience :: Developers',
  111         'Intended Audience :: Science/Research',
  112         'Topic :: Software Development',
  113         'Topic :: Scientific/Engineering',
  114         'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
  115         'Programming Language :: Python :: 3',
  116         'Programming Language :: Python :: 3.6',
  117         'Programming Language :: Python :: 3.7',
  118         'Programming Language :: Python :: 3.8',
  119         'Programming Language :: Python :: 3.9',
  120         'Programming Language :: Python :: 3.10',
  121     ],
  122 )
  123
  [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
  @@ -74,7 +74,6 @@
   
   import setuptools
   from setuptools import setup
  -from distutils.util import convert_path
   import os
   
   main_ns = {}
  @@ -89,9 +88,6 @@
       with open(requirementPath) as f:
           install_requires = f.read().splitlines()
   
  -
  -
  -
   setup(
       name='deepchecks',
       version=VER,
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -74,7 +74,6 @@\n \n import setuptools\n from setuptools import setup\n-from distutils.util import convert_path\n import os\n \n main_ns = {}\n@@ -89,9 +88,6 @@\n     with open(requirementPath) as f:\n         install_requires = f.read().splitlines()\n \n-\n-\n-\n setup(\n     name='deepchecks',\n     version=VER,\n", "issue": "[BUG] resources/suite_output.html file is missing when installing not via git\n**Describe the bug**\r\ncan't use save_as_html because suite_output.html file is missing\r\n\r\n**To Reproduce**\r\npip install deepchecks\r\nsuite_result.save_as_html()\r\n\r\n**Expected behavior**\r\nsave as html\r\n\r\n**Environment (please complete the following information):**\r\n - OS: linux\r\n - Python Version: 3.7\r\n - Deepchecks Version: 0.3.1\r\n\n", "before_files": [{"content": "# ----------------------------------------------------------------------------\n# Copyright (C) 2021 Deepchecks (https://www.deepchecks.com)\n#\n# This file is part of Deepchecks.\n# Deepchecks is distributed under the terms of the GNU Affero General\n# Public License (version 3 or later).\n# You should have received a copy of the GNU Affero General Public License\n# along with Deepchecks.  If not, see <http://www.gnu.org/licenses/>.\n# ----------------------------------------------------------------------------\n#\n\"\"\"\n\n|build| |Documentation Status| |pkgVersion| |pyVersions|\n|Maintainability| |Coverage Status|\n\n.. image:: https://raw.githubusercontent.com/deepchecks/deepchecks/main/docs/images/deepchecks-logo-with-white-wide-back.png\n  :target: https://github.com/deepchecks/deepchecks\n\nDeepchecks is a Python package for comprehensively validating your machine learning models and data with minimal effort.\nThis includes checks related to various types of issues, such as model performance, data integrity,\ndistribution mismatches, and more.\n\nWhat Do You Need in Order to Start Validating?\n----------------------------------------------\n\nDepending on your phase and what you wise to validate, you'll need a\nsubset of the following:\n\n-  Raw data (before pre-processing such as OHE, string processing,\n   etc.), with optional labels\n\n-  The model's training data with labels\n\n-  Test data (which the model isn't exposed to) with labels\n\n-  A model compatible with scikit-learn API that you wish to validate\n   (e.g. RandomForest, XGBoost)\n\nDeepchecks validation accompanies you from the initial phase when you\nhave only raw data, through the data splits, and to the final stage of\nhaving a trained model that you wish to evaluate. Accordingly, each\nphase requires different assets for the validation. See more about\ntypical usage scenarios and the built-in suites in the\n`docs <https://docs.deepchecks.com/?utm_source=pypi.org&utm_medium=referral&utm_campaign=readme>`__.\n\nInstallation\n------------\n\nUsing pip\n~~~~~~~~~\n\n.. code:: bash\n\n   pip install deepchecks #--upgrade --user\n\nUsing conda\n~~~~~~~~~~~\n\n.. code:: bash\n\n   conda install -c deepchecks deepchecks\n\n.. |build| image:: https://github.com/deepchecks/deepchecks/actions/workflows/build.yml/badge.svg\n.. |Documentation Status| image:: https://readthedocs.org/projects/deepchecks/badge/?version=latest\n   :target: https://docs.deepchecks.com/en/latest/?badge=latest\n.. |pkgVersion| image:: https://img.shields.io/pypi/v/deepchecks\n.. |pyVersions| image:: https://img.shields.io/pypi/pyversions/deepchecks\n.. |Maintainability| image:: https://api.codeclimate.com/v1/badges/970b11794144139975fa/maintainability\n   :target: https://codeclimate.com/github/deepchecks/deepchecks/maintainability\n.. |Coverage Status| image:: https://coveralls.io/repos/github/deepchecks/deepchecks/badge.svg?branch=main\n   :target: https://coveralls.io/github/deepchecks/deepchecks?branch=main\n\n\"\"\"\n\nimport setuptools\nfrom setuptools import setup\nfrom distutils.util import convert_path\nimport os\n\nmain_ns = {}\nDOCLINES = (__doc__ or '').split(\"\\n\")\n\nwith open(os.path.join('./', 'VERSION')) as version_file:\n    VER = version_file.read().strip()\n\nrequirementPath = os.path.dirname(os.path.realpath(__file__)) + '/requirements.txt'\ninstall_requires = []\nif os.path.isfile(requirementPath):\n    with open(requirementPath) as f:\n        install_requires = f.read().splitlines()\n\n\n\n\nsetup(\n    name='deepchecks',\n    version=VER,\n    packages=setuptools.find_packages(),\n    install_requires=install_requires,\n    license_files = ('LICENSE', ),\n    description = DOCLINES[0],\n    long_description=\"\\n\".join(DOCLINES[2:]),\n    author = 'deepchecks',  \n    author_email = 'info@deepchecks.com', \n    url = 'https://github.com/deepchecks/deepchecks',\n    download_url = \"https://github.com/deepchecks/deepchecks/releases/download/{0}/deepchecks-{0}.tar.gz\".format(VER),\n    keywords = ['Software Development', 'Machine Learning'],\n    include_package_data=True,\n    classifiers         = [\n        'Intended Audience :: Developers',\n        'Intended Audience :: Science/Research',\n        'Topic :: Software Development',\n        'Topic :: Scientific/Engineering',\n        'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.6',\n        'Programming Language :: Python :: 3.7',\n        'Programming Language :: Python :: 3.8',\n        'Programming Language :: Python :: 3.9',\n        'Programming Language :: Python :: 3.10',\n    ],\n)\n", "path": "setup.py"}]}