prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Fix setup_webui script
  Motivation
  ----------
  Script has a wrong import, needs to be fixed.
  
  
  
  --- 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_webui.py`
  Content:
  ```
  1 # -*- coding: utf-8 -*-
  2 # Copyright 2015-2021 CERN
  3 #
  4 # Licensed under the Apache License, Version 2.0 (the "License");
  5 # you may not use this file except in compliance with the License.
  6 # You may obtain a copy of the License at
  7 #
  8 #    http://www.apache.org/licenses/LICENSE-2.0
  9 #
  10 # Unless required by applicable law or agreed to in writing, software
  11 # distributed under the License is distributed on an "AS IS" BASIS,
  12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13 # See the License for the specific language governing permissions and
  14 # limitations under the License.
  15 #
  16 # Authors:
  17 # - Vincent Garonne <vincent.garonne@cern.ch>, 2015-2017
  18 # - Martin Barisits <martin.barisits@cern.ch>, 2016-2021
  19 # - Benedikt Ziemons <benedikt.ziemons@cern.ch>, 2021
  20 
  21 import os
  22 import sys
  23 
  24 from setuptools import setup
  25 
  26 
  27 if sys.version_info < (3, 6):
  28     print('ERROR: Rucio WebUI requires at least Python 3.6 to run.')
  29     sys.exit(1)
  30 
  31 try:
  32     from setuputil import get_rucio_version
  33 except ImportError:
  34     sys.path.append(os.path.abspath(os.path.dirname(__file__)))
  35     from setuputil import get_rucio_version
  36 
  37 name = 'rucio-webui'
  38 packages = ['rucio', 'rucio.web', 'rucio.web.ui', 'rucio.web.ui.flask', 'rucio.web.flask.common']
  39 data_files = []
  40 description = "Rucio WebUI Package"
  41 
  42 setup(
  43     name=name,
  44     version=get_rucio_version(),
  45     packages=packages,
  46     package_dir={'': 'lib'},
  47     data_files=None,
  48     include_package_data=True,
  49     scripts=None,
  50     author="Rucio",
  51     author_email="rucio-dev@cern.ch",
  52     description=description,
  53     license="Apache License, Version 2.0",
  54     url="https://rucio.cern.ch/",
  55     python_requires=">=3.6, <4",
  56     classifiers=[
  57         'Development Status :: 5 - Production/Stable',
  58         'License :: OSI Approved :: Apache Software License',
  59         'Intended Audience :: Information Technology',
  60         'Intended Audience :: System Administrators',
  61         'Operating System :: POSIX :: Linux',
  62         'Natural Language :: English',
  63         'Programming Language :: Python',
  64         'Programming Language :: Python :: 3',
  65         'Programming Language :: Python :: 3.6',
  66         'Programming Language :: Python :: 3.7',
  67         'Programming Language :: Python :: 3.8',
  68         'Programming Language :: Python :: 3.9',
  69         'Environment :: No Input/Output (Daemon)', ],
  70     install_requires=['rucio>=1.2.5', ],
  71 )
  72
  ```
  --- 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_webui.py b/setup_webui.py
  --- a/setup_webui.py
  +++ b/setup_webui.py
  @@ -35,7 +35,7 @@
       from setuputil import get_rucio_version
   
   name = 'rucio-webui'
  -packages = ['rucio', 'rucio.web', 'rucio.web.ui', 'rucio.web.ui.flask', 'rucio.web.flask.common']
  +packages = ['rucio', 'rucio.web', 'rucio.web.ui', 'rucio.web.ui.flask', 'rucio.web.ui.flask.common']
   data_files = []
   description = "Rucio WebUI Package"
  
verification_info: {"golden_diff": "diff --git a/setup_webui.py b/setup_webui.py\n--- a/setup_webui.py\n+++ b/setup_webui.py\n@@ -35,7 +35,7 @@\n     from setuputil import get_rucio_version\n \n name = 'rucio-webui'\n-packages = ['rucio', 'rucio.web', 'rucio.web.ui', 'rucio.web.ui.flask', 'rucio.web.flask.common']\n+packages = ['rucio', 'rucio.web', 'rucio.web.ui', 'rucio.web.ui.flask', 'rucio.web.ui.flask.common']\n data_files = []\n description = \"Rucio WebUI Package\"\n", "issue": "Fix setup_webui script\nMotivation\r\n----------\r\nScript has a wrong import, needs to be fixed.\r\n\r\n\n", "before_files": [{"content": "# -*- coding: utf-8 -*-\n# Copyright 2015-2021 CERN\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#    http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n# Authors:\n# - Vincent Garonne <vincent.garonne@cern.ch>, 2015-2017\n# - Martin Barisits <martin.barisits@cern.ch>, 2016-2021\n# - Benedikt Ziemons <benedikt.ziemons@cern.ch>, 2021\n\nimport os\nimport sys\n\nfrom setuptools import setup\n\n\nif sys.version_info < (3, 6):\n    print('ERROR: Rucio WebUI requires at least Python 3.6 to run.')\n    sys.exit(1)\n\ntry:\n    from setuputil import get_rucio_version\nexcept ImportError:\n    sys.path.append(os.path.abspath(os.path.dirname(__file__)))\n    from setuputil import get_rucio_version\n\nname = 'rucio-webui'\npackages = ['rucio', 'rucio.web', 'rucio.web.ui', 'rucio.web.ui.flask', 'rucio.web.flask.common']\ndata_files = []\ndescription = \"Rucio WebUI Package\"\n\nsetup(\n    name=name,\n    version=get_rucio_version(),\n    packages=packages,\n    package_dir={'': 'lib'},\n    data_files=None,\n    include_package_data=True,\n    scripts=None,\n    author=\"Rucio\",\n    author_email=\"rucio-dev@cern.ch\",\n    description=description,\n    license=\"Apache License, Version 2.0\",\n    url=\"https://rucio.cern.ch/\",\n    python_requires=\">=3.6, <4\",\n    classifiers=[\n        'Development Status :: 5 - Production/Stable',\n        'License :: OSI Approved :: Apache Software License',\n        'Intended Audience :: Information Technology',\n        'Intended Audience :: System Administrators',\n        'Operating System :: POSIX :: Linux',\n        'Natural Language :: English',\n        'Programming Language :: Python',\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        'Environment :: No Input/Output (Daemon)', ],\n    install_requires=['rucio>=1.2.5', ],\n)\n", "path": "setup_webui.py"}], "after_files": [{"content": "# -*- coding: utf-8 -*-\n# Copyright 2015-2021 CERN\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#    http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n# Authors:\n# - Vincent Garonne <vincent.garonne@cern.ch>, 2015-2017\n# - Martin Barisits <martin.barisits@cern.ch>, 2016-2021\n# - Benedikt Ziemons <benedikt.ziemons@cern.ch>, 2021\n\nimport os\nimport sys\n\nfrom setuptools import setup\n\n\nif sys.version_info < (3, 6):\n    print('ERROR: Rucio WebUI requires at least Python 3.6 to run.')\n    sys.exit(1)\n\ntry:\n    from setuputil import get_rucio_version\nexcept ImportError:\n    sys.path.append(os.path.abspath(os.path.dirname(__file__)))\n    from setuputil import get_rucio_version\n\nname = 'rucio-webui'\npackages = ['rucio', 'rucio.web', 'rucio.web.ui', 'rucio.web.ui.flask', 'rucio.web.ui.flask.common']\ndata_files = []\ndescription = \"Rucio WebUI Package\"\n\nsetup(\n    name=name,\n    version=get_rucio_version(),\n    packages=packages,\n    package_dir={'': 'lib'},\n    data_files=None,\n    include_package_data=True,\n    scripts=None,\n    author=\"Rucio\",\n    author_email=\"rucio-dev@cern.ch\",\n    description=description,\n    license=\"Apache License, Version 2.0\",\n    url=\"https://rucio.cern.ch/\",\n    python_requires=\">=3.6, <4\",\n    classifiers=[\n        'Development Status :: 5 - Production/Stable',\n        'License :: OSI Approved :: Apache Software License',\n        'Intended Audience :: Information Technology',\n        'Intended Audience :: System Administrators',\n        'Operating System :: POSIX :: Linux',\n        'Natural Language :: English',\n        'Programming Language :: Python',\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        'Environment :: No Input/Output (Daemon)', ],\n    install_requires=['rucio>=1.2.5', ],\n)\n", "path": "setup_webui.py"}]}