code: def do_setup(package_data):
      setup(
          name="fairseq",
          version=version,
          description="Facebook AI Research Sequence-to-Sequence Toolkit",
          url="https://github.com/pytorch/fairseq",
          classifiers=[
              "Intended Audience :: Science/Research",
              "License :: OSI Approved :: MIT License",
              "Programming Language :: Python :: 3.6",
              "Programming Language :: Python :: 3.7",
              "Programming Language :: Python :: 3.8",
              "Topic :: Scientific/Engineering :: Artificial Intelligence",
          ],
          long_description=readme,
          long_description_content_type="text/markdown",
          install_requires=[
              "cffi",
              "cython",
              "hydra-core>=1.0.7,<1.1",
              "omegaconf<2.1",
              "numpy>=1.21.3",
              "regex",
              "sacrebleu>=1.4.12",
              "torch>=1.13",
              "tqdm",
              "bitarray",
              "torchaudio>=0.8.0",
              "scikit-learn",
              "packaging",
          ],
          extras_require={
              "dev": ["flake8", "pytest", "black==22.3.0"],
              "docs": ["sphinx", "sphinx-argparse"],
          },
          dependency_links=dependency_links,
          packages=find_packages(
              exclude=[
                  "examples",
                  "examples.*",
                  "scripts",
                  "scripts.*",
                  "tests",
                  "tests.*",
              ]
          )
          + extra_packages,
          package_data=package_data,
          ext_modules=extensions,
          test_suite="tests",
          entry_points={
              "console_scripts": [
                  "fairseq-eval-lm = fairseq_cli.eval_lm:cli_main",
                  "fairseq-generate = fairseq_cli.generate:cli_main",
                  "fairseq-hydra-train = fairseq_cli.hydra_train:cli_main",
                  "fairseq-interactive = fairseq_cli.interactive:cli_main",
                  "fairseq-preprocess = fairseq_cli.preprocess:cli_main",
                  "fairseq-score = fairseq_cli.score:cli_main",
                  "fairseq-train = fairseq_cli.train:cli_main",
                  "fairseq-validate = fairseq_cli.validate:cli_main",
              ],
          },
          cmdclass=cmdclass,
          zip_safe=False,
      )
  
file_path: fairseq/setup.py
imports: import os
  import subprocess
  import sys
  from setuptools import Extension, find_packages, setup
  from torch.utils import cpp_extension
label_desc: Use image node_id 2 for calling a global function with example usage: do_setup(package_data) without return types