prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  [joss] list supported python versions in pypi
  piggy-backing off of one of @TomDonoghue's comments:
  > Is there a minimum version of Python3 required? I guess that there is some minimum required sub-version of Py3 required, but it's not clear what that would be, and it might be useful to note that.
  
  you can add supported python versions for pypi, you can add these:
  ```
  Programming Language :: Python :: 3.5
  Programming Language :: Python :: 3.6
  Programming Language :: Python :: 3.7
  ```
  [in your setup.py](https://github.com/mne-tools/mne-bids/blob/20fbb881afaab75206db3d8c2d4b226c4c3bc212/setup.py#L50)
  you can also set [`python_requires`](https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires) in `setup.py` to ensure people do not use the incorrect python version with your package.
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `setup.py`
  Content:
  ```
  1 #! /usr/bin/env python
  2 """Setup MNE-BIDS."""
  3 import os
  4 from setuptools import setup, find_packages
  5 
  6 # get the version
  7 version = None
  8 with open(os.path.join('mne_bids', '__init__.py'), 'r') as fid:
  9     for line in (line.strip() for line in fid):
  10         if line.startswith('__version__'):
  11             version = line.split('=')[1].strip().strip('\'')
  12             break
  13 if version is None:
  14     raise RuntimeError('Could not determine version')
  15 
  16 
  17 descr = ('MNE-BIDS: Organizing MEG, EEG, and iEEG data according to the BIDS '
  18          'specification and facilitating their analysis with MNE-Python')
  19 
  20 DISTNAME = 'mne-bids'
  21 DESCRIPTION = descr
  22 MAINTAINER = 'Mainak Jas'
  23 MAINTAINER_EMAIL = 'mainakjas@gmail.com'
  24 URL = 'https://mne.tools/mne-bids/'
  25 LICENSE = 'BSD (3-clause)'
  26 DOWNLOAD_URL = 'https://github.com/mne-tools/mne-bids.git'
  27 VERSION = version
  28 
  29 if __name__ == "__main__":
  30     setup(name=DISTNAME,
  31           maintainer=MAINTAINER,
  32           maintainer_email=MAINTAINER_EMAIL,
  33           description=DESCRIPTION,
  34           license=LICENSE,
  35           url=URL,
  36           version=VERSION,
  37           download_url=DOWNLOAD_URL,
  38           long_description=open('README.rst').read(),
  39           long_description_content_type='text/x-rst',
  40           classifiers=[
  41               'Intended Audience :: Science/Research',
  42               'Intended Audience :: Developers',
  43               'License :: OSI Approved',
  44               'Programming Language :: Python',
  45               'Topic :: Software Development',
  46               'Topic :: Scientific/Engineering',
  47               'Operating System :: Microsoft :: Windows',
  48               'Operating System :: POSIX',
  49               'Operating System :: Unix',
  50               'Operating System :: MacOS',
  51           ],
  52           platforms='any',
  53           packages=find_packages(),
  54           entry_points={'console_scripts': [
  55               'mne_bids = mne_bids.commands.run:main',
  56           ]},
  57           project_urls={
  58               'Documentation': 'https://mne.tools/mne-bids',
  59               'Bug Reports': 'https://github.com/mne-tools/mne-bids/issues',
  60               'Source': 'https://github.com/mne-tools/mne-bids',
  61           },
  62           )
  63
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/setup.py b/setup.py
  --- a/setup.py
  +++ b/setup.py
  @@ -37,6 +37,7 @@
             download_url=DOWNLOAD_URL,
             long_description=open('README.rst').read(),
             long_description_content_type='text/x-rst',
  +          python_requires='~=3.5',
             classifiers=[
                 'Intended Audience :: Science/Research',
                 'Intended Audience :: Developers',
  @@ -48,6 +49,9 @@
                 'Operating System :: POSIX',
                 'Operating System :: Unix',
                 'Operating System :: MacOS',
  +              'Programming Language :: Python :: 3.5',
  +              'Programming Language :: Python :: 3.6',
  +              'Programming Language :: Python :: 3.7',
             ],
             platforms='any',
             packages=find_packages(),
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -37,6 +37,7 @@\n           download_url=DOWNLOAD_URL,\n           long_description=open('README.rst').read(),\n           long_description_content_type='text/x-rst',\n+          python_requires='~=3.5',\n           classifiers=[\n               'Intended Audience :: Science/Research',\n               'Intended Audience :: Developers',\n@@ -48,6 +49,9 @@\n               'Operating System :: POSIX',\n               'Operating System :: Unix',\n               'Operating System :: MacOS',\n+              'Programming Language :: Python :: 3.5',\n+              'Programming Language :: Python :: 3.6',\n+              'Programming Language :: Python :: 3.7',\n           ],\n           platforms='any',\n           packages=find_packages(),\n", "issue": "[joss] list supported python versions in pypi\npiggy-backing off of one of @TomDonoghue's comments:\r\n> Is there a minimum version of Python3 required? I guess that there is some minimum required sub-version of Py3 required, but it's not clear what that would be, and it might be useful to note that.\r\n\r\nyou can add supported python versions for pypi, you can add these:\r\n```\r\nProgramming Language :: Python :: 3.5\r\nProgramming Language :: Python :: 3.6\r\nProgramming Language :: Python :: 3.7\r\n```\r\n[in your setup.py](https://github.com/mne-tools/mne-bids/blob/20fbb881afaab75206db3d8c2d4b226c4c3bc212/setup.py#L50)\r\nyou can also set [`python_requires`](https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires) in `setup.py` to ensure people do not use the incorrect python version with your package.\n", "before_files": [{"content": "#! /usr/bin/env python\n\"\"\"Setup MNE-BIDS.\"\"\"\nimport os\nfrom setuptools import setup, find_packages\n\n# get the version\nversion = None\nwith open(os.path.join('mne_bids', '__init__.py'), 'r') as fid:\n    for line in (line.strip() for line in fid):\n        if line.startswith('__version__'):\n            version = line.split('=')[1].strip().strip('\\'')\n            break\nif version is None:\n    raise RuntimeError('Could not determine version')\n\n\ndescr = ('MNE-BIDS: Organizing MEG, EEG, and iEEG data according to the BIDS '\n         'specification and facilitating their analysis with MNE-Python')\n\nDISTNAME = 'mne-bids'\nDESCRIPTION = descr\nMAINTAINER = 'Mainak Jas'\nMAINTAINER_EMAIL = 'mainakjas@gmail.com'\nURL = 'https://mne.tools/mne-bids/'\nLICENSE = 'BSD (3-clause)'\nDOWNLOAD_URL = 'https://github.com/mne-tools/mne-bids.git'\nVERSION = version\n\nif __name__ == \"__main__\":\n    setup(name=DISTNAME,\n          maintainer=MAINTAINER,\n          maintainer_email=MAINTAINER_EMAIL,\n          description=DESCRIPTION,\n          license=LICENSE,\n          url=URL,\n          version=VERSION,\n          download_url=DOWNLOAD_URL,\n          long_description=open('README.rst').read(),\n          long_description_content_type='text/x-rst',\n          classifiers=[\n              'Intended Audience :: Science/Research',\n              'Intended Audience :: Developers',\n              'License :: OSI Approved',\n              'Programming Language :: Python',\n              'Topic :: Software Development',\n              'Topic :: Scientific/Engineering',\n              'Operating System :: Microsoft :: Windows',\n              'Operating System :: POSIX',\n              'Operating System :: Unix',\n              'Operating System :: MacOS',\n          ],\n          platforms='any',\n          packages=find_packages(),\n          entry_points={'console_scripts': [\n              'mne_bids = mne_bids.commands.run:main',\n          ]},\n          project_urls={\n              'Documentation': 'https://mne.tools/mne-bids',\n              'Bug Reports': 'https://github.com/mne-tools/mne-bids/issues',\n              'Source': 'https://github.com/mne-tools/mne-bids',\n          },\n          )\n", "path": "setup.py"}], "after_files": [{"content": "#! /usr/bin/env python\n\"\"\"Setup MNE-BIDS.\"\"\"\nimport os\nfrom setuptools import setup, find_packages\n\n# get the version\nversion = None\nwith open(os.path.join('mne_bids', '__init__.py'), 'r') as fid:\n    for line in (line.strip() for line in fid):\n        if line.startswith('__version__'):\n            version = line.split('=')[1].strip().strip('\\'')\n            break\nif version is None:\n    raise RuntimeError('Could not determine version')\n\n\ndescr = ('MNE-BIDS: Organizing MEG, EEG, and iEEG data according to the BIDS '\n         'specification and facilitating their analysis with MNE-Python')\n\nDISTNAME = 'mne-bids'\nDESCRIPTION = descr\nMAINTAINER = 'Mainak Jas'\nMAINTAINER_EMAIL = 'mainakjas@gmail.com'\nURL = 'https://mne.tools/mne-bids/'\nLICENSE = 'BSD (3-clause)'\nDOWNLOAD_URL = 'https://github.com/mne-tools/mne-bids.git'\nVERSION = version\n\nif __name__ == \"__main__\":\n    setup(name=DISTNAME,\n          maintainer=MAINTAINER,\n          maintainer_email=MAINTAINER_EMAIL,\n          description=DESCRIPTION,\n          license=LICENSE,\n          url=URL,\n          version=VERSION,\n          download_url=DOWNLOAD_URL,\n          long_description=open('README.rst').read(),\n          long_description_content_type='text/x-rst',\n          python_requires='~=3.5',\n          classifiers=[\n              'Intended Audience :: Science/Research',\n              'Intended Audience :: Developers',\n              'License :: OSI Approved',\n              'Programming Language :: Python',\n              'Topic :: Software Development',\n              'Topic :: Scientific/Engineering',\n              'Operating System :: Microsoft :: Windows',\n              'Operating System :: POSIX',\n              'Operating System :: Unix',\n              'Operating System :: MacOS',\n              'Programming Language :: Python :: 3.5',\n              'Programming Language :: Python :: 3.6',\n              'Programming Language :: Python :: 3.7',\n          ],\n          platforms='any',\n          packages=find_packages(),\n          entry_points={'console_scripts': [\n              'mne_bids = mne_bids.commands.run:main',\n          ]},\n          project_urls={\n              'Documentation': 'https://mne.tools/mne-bids',\n              'Bug Reports': 'https://github.com/mne-tools/mne-bids/issues',\n              'Source': 'https://github.com/mne-tools/mne-bids',\n          },\n          )\n", "path": "setup.py"}]}