docs: def build_wheel(self, wheel, directory, compile_c=True):
          # type: (str, str, bool) -> None
          """Build an sdist into a wheel file."""
          arguments = ['--no-deps', '--wheel-dir', directory, wheel]
          env_vars = self._osutils.environ()
          shim = ''
          if not compile_c:
              env_vars.update(pip_no_compile_c_env_vars)
              shim = pip_no_compile_c_shim
          # Ignore rc and stderr from this command since building the wheels
          # may fail and we will find out when we categorize the files that were
          # generated.
          self._execute('wheel', arguments,
                        env_vars=env_vars, shim=shim)