ext_modules=extensions,
      cmdclass={
          'build': build,
          'build_py': build_py,
          'build_ext': build_ext,
          'build_deps': build_deps,
          'build_module': build_module,
          'develop': develop,
          'install': install,
          'clean': clean,
      },
      packages=packages,
      package_data={'torch': [
          'lib/.so', 'lib/.dylib',
          'lib/torch_shm_manager',
          'lib/.h',
          'lib/include/TH/.h', 'lib/include/TH/generic/.h',
          'lib/include/THC/.h', 'lib/include/THC/generic/*.h']},
      install_requires=['pyyaml'],
      )
```
The function is composed entirely of keyword arguments, which serve two purposes:

Metadata (e.g. name, description, version)
The contents of the package

We are concerned with #2. Let's break down the individual components: