prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Remove chaco.chaco_version file
  https://github.com/enthought/chaco/blob/fdd858aa6dbc76addb50d011fb81e879ce8e0355/chaco/chaco_version.py
  
  We now create `chaco._version` file when installing the package (in `setup.py`) so we don't need this additional `chaco.chaco_version` file anymore.
  
  </issue>
  <code>
  [start of chaco/chaco_version.py]
  1 # ------------------------------------------------------------------------------
  2 # Copyright (c) 2005, Enthought, Inc.
  3 # All rights reserved.
  4 #
  5 # This software is provided without warranty under the terms of the BSD
  6 # license included in LICENSE.txt and may be redistributed only
  7 # under the conditions described in the aforementioned license.  The license
  8 # is also available online at http://www.enthought.com/licenses/BSD.txt
  9 # Thanks for using Enthought open source!
  10 #
  11 # Author: Enthought, Inc.
  12 # Description: <Enthought library component>
  13 # ------------------------------------------------------------------------------
  14 """ Defines version numbering for the Chaco package.
  15 """
  16 major = 2
  17 minor = 0
  18 micro = 9
  19 
  20 version = "%s.%s.%s" % (major, minor, micro)
  21 
  22 
  23 release_level = "beta"
  24 branch = ""
  25 revision = version
  26
  [end of chaco/chaco_version.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/chaco/chaco_version.py b/chaco/chaco_version.py
  deleted file mode 100644
  --- a/chaco/chaco_version.py
  +++ /dev/null
  @@ -1,25 +0,0 @@
  -# ------------------------------------------------------------------------------
  -# Copyright (c) 2005, Enthought, Inc.
  -# All rights reserved.
  -#
  -# This software is provided without warranty under the terms of the BSD
  -# license included in LICENSE.txt and may be redistributed only
  -# under the conditions described in the aforementioned license.  The license
  -# is also available online at http://www.enthought.com/licenses/BSD.txt
  -# Thanks for using Enthought open source!
  -#
  -# Author: Enthought, Inc.
  -# Description: <Enthought library component>
  -# ------------------------------------------------------------------------------
  -""" Defines version numbering for the Chaco package.
  -"""
  -major = 2
  -minor = 0
  -micro = 9
  -
  -version = "%s.%s.%s" % (major, minor, micro)
  -
  -
  -release_level = "beta"
  -branch = ""
  -revision = version
  
verification_info: {"golden_diff": "diff --git a/chaco/chaco_version.py b/chaco/chaco_version.py\ndeleted file mode 100644\n--- a/chaco/chaco_version.py\n+++ /dev/null\n@@ -1,25 +0,0 @@\n-# ------------------------------------------------------------------------------\n-# Copyright (c) 2005, Enthought, Inc.\n-# All rights reserved.\n-#\n-# This software is provided without warranty under the terms of the BSD\n-# license included in LICENSE.txt and may be redistributed only\n-# under the conditions described in the aforementioned license.  The license\n-# is also available online at http://www.enthought.com/licenses/BSD.txt\n-# Thanks for using Enthought open source!\n-#\n-# Author: Enthought, Inc.\n-# Description: <Enthought library component>\n-# ------------------------------------------------------------------------------\n-\"\"\" Defines version numbering for the Chaco package.\n-\"\"\"\n-major = 2\n-minor = 0\n-micro = 9\n-\n-version = \"%s.%s.%s\" % (major, minor, micro)\n-\n-\n-release_level = \"beta\"\n-branch = \"\"\n-revision = version\n", "issue": "Remove chaco.chaco_version file\nhttps://github.com/enthought/chaco/blob/fdd858aa6dbc76addb50d011fb81e879ce8e0355/chaco/chaco_version.py\r\n\r\nWe now create `chaco._version` file when installing the package (in `setup.py`) so we don't need this additional `chaco.chaco_version` file anymore.\n", "before_files": [{"content": "# ------------------------------------------------------------------------------\n# Copyright (c) 2005, Enthought, Inc.\n# All rights reserved.\n#\n# This software is provided without warranty under the terms of the BSD\n# license included in LICENSE.txt and may be redistributed only\n# under the conditions described in the aforementioned license.  The license\n# is also available online at http://www.enthought.com/licenses/BSD.txt\n# Thanks for using Enthought open source!\n#\n# Author: Enthought, Inc.\n# Description: <Enthought library component>\n# ------------------------------------------------------------------------------\n\"\"\" Defines version numbering for the Chaco package.\n\"\"\"\nmajor = 2\nminor = 0\nmicro = 9\n\nversion = \"%s.%s.%s\" % (major, minor, micro)\n\n\nrelease_level = \"beta\"\nbranch = \"\"\nrevision = version\n", "path": "chaco/chaco_version.py"}]}