def install(self, targetdir):
        """
        Install the wheel into the target directory.
        Return (files_installed, dependencies)
        """
        if self.verbose:
            print("Extracting wheel..")
        tp = self.extract_into_temppath()
        if self.verbose:
            print("Extraction finished, running handlers...")
        try:
            files_installed = []
            for handler in self.handlers:
                if hasattr(handler, "handle_install"):
                    if self.verbose:
                        print("Running handler '{h}'...".format(h=getattr(handler, "name", "<unknown>")))
                    tfi = handler.handle_install(tp, targetdir)
                    if tfi is not None:
                        files_installed += tfi
        finally:
            if self.verbose:
                print("Cleaning up...")
            if os.path.exists(tp):
                shutil.rmtree(tp)
        return (files_installed, self.dependencies)

        Install the wheel into the target directory.
        Return (files_installed, dependencies)
        
lib/stashutils/wheels.py