code: def run_setup(build_ext):
      extra_modules = None
      if build_ext:
          extra_modules = list()
  
          hv_module = Extension(
              "deap.tools._hypervolume.hv",
              sources=[
                  "deap/tools/_hypervolume/_hv.c",
                  "deap/tools/_hypervolume/hv.cpp",
              ],
          )
          extra_modules.append(hv_module)
  
      setup(
          name="deap",
          version=deap.__revision__,
          description="Distributed Evolutionary Algorithms in Python",
          long_description=long_description,
          long_description_content_type="text/markdown",
          author="deap Development Team",
          author_email="deap-users@googlegroups.com",
          url="https://www.github.com/deap",
          packages=find_packages(exclude=["examples", "tests"]),
          platforms=["any"],
          keywords=[
              "evolutionary algorithms",
              "genetic algorithms",
              "genetic programming",
              "cma-es",
              "ga",
              "gp",
              "es",
              "pso",
          ],
          license="LGPL",
          classifiers=[
              "Development Status :: 4 - Beta",
              "Intended Audience :: Developers",
              "Intended Audience :: Education",
              "Intended Audience :: Science/Research",
              "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
              "Programming Language :: Python",
              "Programming Language :: Python :: 3",
              "Topic :: Scientific/Engineering",
              "Topic :: Software Development",
          ],
          ext_modules=extra_modules,
          cmdclass={"build_ext": ve_build_ext},
          install_requires=["numpy"],
      )
  
file_path: deap/setup.py
imports: import sys
  from setuptools.command.build_ext import build_ext
  from distutils.errors import CCompilerError, DistutilsExecError, DistutilsPlatformError
  from os import path
  import codecs
  import deap
label_desc: Use image node_id 1 for calling a global function with example usage: run_setup(build_ext) without return types