prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  pip show pymodbus, misses information.
  ```
  pymodbus) pymodbus %  pip show pymodbus
  
  Name: pymodbus
  Version: 3.1.x
  Summary: A fully featured modbus protocol stack in python
  Home-page: https://github.com/pymodbus-dev/pymodbus/
  Author: attr: pymodbus.__author__
  Author-email: 
  License: BSD-3-Clause
  Location: /Users/jan/repos/pymodbus
  Editable project location: /Users/jan/repos/pymodbus
  Requires: setuptools
  Required-by: 
  ```
  Normally it gets the information from setup.cfg, but for some reason it does not work with "pip show".
  
  </issue>
  <code>
  [start of pymodbus/__init__.py]
  1 """Pymodbus: Modbus Protocol Implementation.
  2 
  3 Released under the the BSD license
  4 """
  5 
  6 from logging import WARNING
  7 
  8 import pymodbus.version as __version
  9 from pymodbus.logging import Log
  10 
  11 
  12 __version__ = __version.version.short()
  13 __author__ = "Galen Collins"
  14 __maintainer__ = "dhoomakethu, janiversen"
  15 
  16 
  17 def pymodbus_apply_logging_config(level=WARNING):
  18     """Apply basic logging configuration used by default by Pymodbus maintainers.
  19 
  20     Please call this function to format logging appropriately when opening issues.
  21     """
  22     Log.apply_logging_config(level)
  23
  [end of pymodbus/__init__.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/pymodbus/__init__.py b/pymodbus/__init__.py
  --- a/pymodbus/__init__.py
  +++ b/pymodbus/__init__.py
  @@ -10,7 +10,7 @@
   
   
   __version__ = __version.version.short()
  -__author__ = "Galen Collins"
  +__author__ = "Galen Collins, Jan Iversen"
   __maintainer__ = "dhoomakethu, janiversen"
  
verification_info: {"golden_diff": "diff --git a/pymodbus/__init__.py b/pymodbus/__init__.py\n--- a/pymodbus/__init__.py\n+++ b/pymodbus/__init__.py\n@@ -10,7 +10,7 @@\n \n \n __version__ = __version.version.short()\n-__author__ = \"Galen Collins\"\n+__author__ = \"Galen Collins, Jan Iversen\"\n __maintainer__ = \"dhoomakethu, janiversen\"\n", "issue": "pip show pymodbus, misses information.\n```\r\npymodbus) pymodbus %  pip show pymodbus\r\n\r\nName: pymodbus\r\nVersion: 3.1.x\r\nSummary: A fully featured modbus protocol stack in python\r\nHome-page: https://github.com/pymodbus-dev/pymodbus/\r\nAuthor: attr: pymodbus.__author__\r\nAuthor-email: \r\nLicense: BSD-3-Clause\r\nLocation: /Users/jan/repos/pymodbus\r\nEditable project location: /Users/jan/repos/pymodbus\r\nRequires: setuptools\r\nRequired-by: \r\n```\r\nNormally it gets the information from setup.cfg, but for some reason it does not work with \"pip show\".\n", "before_files": [{"content": "\"\"\"Pymodbus: Modbus Protocol Implementation.\n\nReleased under the the BSD license\n\"\"\"\n\nfrom logging import WARNING\n\nimport pymodbus.version as __version\nfrom pymodbus.logging import Log\n\n\n__version__ = __version.version.short()\n__author__ = \"Galen Collins\"\n__maintainer__ = \"dhoomakethu, janiversen\"\n\n\ndef pymodbus_apply_logging_config(level=WARNING):\n    \"\"\"Apply basic logging configuration used by default by Pymodbus maintainers.\n\n    Please call this function to format logging appropriately when opening issues.\n    \"\"\"\n    Log.apply_logging_config(level)\n", "path": "pymodbus/__init__.py"}]}