code: def _setup_args() -> Dict[str, Any]:
      assistant = _load_assistant()
      about = _load_py_module(
          "about", os.path.join(_PACKAGE_ROOT, "__about__.py")
      )
      version = _load_py_module(
          "version", os.path.join(_PACKAGE_ROOT, "__version__.py")
      )
      long_description = assistant.load_readme_description(
          _PACKAGE_ROOT,
          homepage=about.__homepage__,
          version=version.version,
      )
  
      # TODO: remove this once lightning-ui package is ready as a dependency
      ui_ver_file = os.path.join(_SOURCE_ROOT, "app-ui-version.info")
      if os.path.isfile(ui_ver_file):
          with open(ui_ver_file, encoding="utf-8") as fo:
              ui_version = fo.readlines()[0].strip()
          download_fe_version = {"version": ui_version}
      else:
          print(f"Missing file with FE version: {ui_ver_file}")
          download_fe_version = {}
      assistant._download_frontend(_PACKAGE_ROOT, **download_fe_version)
  
      return {
          "name": "lightning-app",
          "version": version.version,
          "description": about.__docs__,
          "author": about.__author__,
          "author_email": about.__author_email__,
          "url": about.__homepage__,
          "download_url": "https://github.com/Lightning-AI/lightning",
          "license": about.__license__,
          "packages": find_packages(
              where="src", include=["lightning_app", "lightning_app.*"]
          ),
          "package_dir": {"": "src"},
          "long_description": long_description,
          "long_description_content_type": "text/markdown",
          "include_package_data": True,
          "zip_safe": False,
          "keywords": ["deep learning", "pytorch", "AI"],
          "python_requires": ">=3.8",
          "entry_points": {
              "console_scripts": [
                  "lightning = lightning_app.cli.lightning_cli:main",
              ],
          },
          "setup_requires": [],
          "install_requires": assistant.load_requirements(
              _PATH_REQUIREMENTS,
              file_name="app.txt",
              unfreeze="none" if _FREEZE_REQUIREMENTS else "major",
          ),
          "extras_require": _prepare_extras(),
          "project_urls": {
              "Bug Tracker": "https://github.com/Lightning-AI/lightning/issues",
              "Documentation": "https://lightning.ai/lightning-docs",
              "Source Code": "https://github.com/Lightning-AI/lightning",
          },
          "classifiers": [
              "Environment :: Console",
              "Natural Language :: English",
              # How mature is this project? Common values are
              #   3 - Alpha, 4 - Beta, 5 - Production/Stable
              "Development Status :: 4 - Beta",
              # Indicate who your project is intended for
              "Intended Audience :: Developers",
              "Topic :: Scientific/Engineering :: Artificial Intelligence",
              "Topic :: Scientific/Engineering :: Information Analysis",
              # Pick your license as you wish
              # 'License :: OSI Approved :: BSD License',
              "Operating System :: OS Independent",
              # Specify the Python versions you support here. In particular, ensure
              # that you indicate whether you support Python 2, Python 3 or both.
              "Programming Language :: Python :: 3",
              "Programming Language :: Python :: 3.8",
              "Programming Language :: Python :: 3.9",
              "Programming Language :: Python :: 3.10",
              "Programming Language :: Python :: 3.11",
          ],
      }
  
file_path: pytorch-lightning/src/lightning_app/__setup__.py
imports: import glob
  import os
  from importlib.util import module_from_spec, spec_from_file_location
  from pathlib import Path
  from types import ModuleType
  from typing import Any, Dict
  from setuptools import find_packages
label_desc: Use image node_id 4 for calling a global function with example usage: _setup_args() and returns: dict