prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  complete `.zenodo.json` metadata
  Our `.zenodo.json` file controls which contributors get listed in the [Zenodo code archive](https://zenodo.org/record/6359371):
  
  https://github.com/mne-tools/mne-bids/blob/13d2b975393f5ba55f4b3a7a8bee4a164c08fa1a/.zenodo.json#L1-L4
  
  I feel like adding the contributors that are currently not listed to that file in a PR, and making that a "custom" (to add new contributors also to the zenodo metadata). I think that's a nice "reward" for contributions. Any objections?
  
  </issue>
  <code>
  [start of setup.py]
  1 """Setup MNE-BIDS."""
  2 import sys
  3 
  4 from setuptools import setup
  5 
  6 # Give setuptools a hint to complain if it's too old a version
  7 SETUP_REQUIRES = ["setuptools >= 46.4.0"]
  8 # This enables setuptools to install wheel on-the-fly
  9 SETUP_REQUIRES += ["wheel"] if "bdist_wheel" in sys.argv else []
  10 
  11 version = None
  12 with open('mne_bids/__init__.py', 'r') as fid:
  13     for line in fid:
  14         line = line.strip()
  15         if line.startswith('__version__ = '):
  16             version = line.split(' = ')[1].split('#')[0].strip('\'')
  17             break
  18 if version is None:
  19     raise RuntimeError('Could not determine version')
  20 
  21 
  22 if __name__ == "__main__":
  23     setup(
  24         version=version,
  25         setup_requires=SETUP_REQUIRES,
  26     )
  27
  [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 @@
   """Setup MNE-BIDS."""
  +import os
   import sys
   
   from setuptools import setup
  @@ -9,7 +10,7 @@
   SETUP_REQUIRES += ["wheel"] if "bdist_wheel" in sys.argv else []
   
   version = None
  -with open('mne_bids/__init__.py', 'r') as fid:
  +with open(os.path.join('mne_bids', '__init__.py'), 'r') as fid:
       for line in fid:
           line = line.strip()
           if line.startswith('__version__ = '):
  
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 \"\"\"Setup MNE-BIDS.\"\"\"\n+import os\n import sys\n \n from setuptools import setup\n@@ -9,7 +10,7 @@\n SETUP_REQUIRES += [\"wheel\"] if \"bdist_wheel\" in sys.argv else []\n \n version = None\n-with open('mne_bids/__init__.py', 'r') as fid:\n+with open(os.path.join('mne_bids', '__init__.py'), 'r') as fid:\n     for line in fid:\n         line = line.strip()\n         if line.startswith('__version__ = '):\n", "issue": "complete `.zenodo.json` metadata\nOur `.zenodo.json` file controls which contributors get listed in the [Zenodo code archive](https://zenodo.org/record/6359371):\r\n\r\nhttps://github.com/mne-tools/mne-bids/blob/13d2b975393f5ba55f4b3a7a8bee4a164c08fa1a/.zenodo.json#L1-L4\r\n\r\nI feel like adding the contributors that are currently not listed to that file in a PR, and making that a \"custom\" (to add new contributors also to the zenodo metadata). I think that's a nice \"reward\" for contributions. Any objections?\n", "before_files": [{"content": "\"\"\"Setup MNE-BIDS.\"\"\"\nimport sys\n\nfrom setuptools import setup\n\n# Give setuptools a hint to complain if it's too old a version\nSETUP_REQUIRES = [\"setuptools >= 46.4.0\"]\n# This enables setuptools to install wheel on-the-fly\nSETUP_REQUIRES += [\"wheel\"] if \"bdist_wheel\" in sys.argv else []\n\nversion = None\nwith open('mne_bids/__init__.py', 'r') as fid:\n    for line in fid:\n        line = line.strip()\n        if line.startswith('__version__ = '):\n            version = line.split(' = ')[1].split('#')[0].strip('\\'')\n            break\nif version is None:\n    raise RuntimeError('Could not determine version')\n\n\nif __name__ == \"__main__\":\n    setup(\n        version=version,\n        setup_requires=SETUP_REQUIRES,\n    )\n", "path": "setup.py"}]}