class_docstr: Helper to execute `setuptools.setup()`.
class_docstr_tok: ["Helper","to","execute","`","setuptools.setup","(",")","`","."]
code: def run_setup(self):
      # Builds the long description from the README.
      root_path = os.path.abspath(os.path.dirname(__file__))
      with codecs.open(
          os.path.join(root_path, "README.md"), encoding="utf-8"
      ) as f:
          long_description = f.read()
  
      version, project_name = self._get_version()
      setup(
          name=project_name,
          version=version,
          description=(
              "Launchpad is a library that simplifies writing "
              "distributed programs and seamlessly launching them "
              "on a range of supported platforms."
          ),
          long_description=long_description,
          long_description_content_type="text/markdown",
          author="DeepMind",
          author_email="DeepMind <no-reply@google.com>",
          url="https://github.com/deepmind/launchpad",
          license="Apache 2.0",
          packages=["courier", "launchpad"],
          headers=list(find_files("*.proto", "launchpad")),
          include_package_data=True,
          install_requires=self._get_required_packages(),
          extras_require={
              "tensorflow": self._get_tensorflow_packages(),
              "reverb": self._get_reverb_packages(),
              "xmanager": ["xmanager"],
          },
          distclass=BinaryDistribution,
          cmdclass={
              "install": InstallCommand,
          },
          python_requires=">=3",
          classifiers=[
              "Development Status :: 3 - Alpha",
              "Intended Audience :: Developers",
              "Intended Audience :: Education",
              "Intended Audience :: Science/Research",
              "License :: OSI Approved :: Apache Software License",
              "Programming Language :: Python :: 3.7",
              "Programming Language :: Python :: 3.8",
              "Programming Language :: Python :: 3.9",
              "Programming Language :: Python :: 3.10",
              "Topic :: Scientific/Engineering",
              "Topic :: Scientific/Engineering :: Mathematics",
              "Topic :: Scientific/Engineering :: Artificial Intelligence",
              "Topic :: Software Development",
              "Topic :: Software Development :: Libraries",
              "Topic :: Software Development :: Libraries :: Python Modules",
          ],
          keywords="deepmind reinforcement learning machine distributed",
      )
  
imports: import argparse
  import codecs
  import datetime
  import fnmatch
  import os
  import sys
  from setuptools import setup
  from setuptools.command.install import install
  from setuptools.dist import Distribution
  from version import launchpad_version
label_desc: Use image node_id 6 for calling the SetupToolsHelper obj's underlying member method code with example usage: obj.run_setup() without return types