(self, simple_dir: Path)
return sorted(
            {
                canonicalize_name(str(x.parent.relative_to(simple_path)))
                for x in simple_path.glob("**/index.html")
                if str(x.parent.relative_to(simple_path)) != "."
            }
        )
Given a directory that contains simple packages indexes, return
        a sorted list of normalized package names.  This presumes every
        directory within is a simple package index directory.
Given a directory that contains simple packages indexes, return
        a sorted list of normalized package names.  This presumes every
        directory within is a simple package index directory.
Given a directory that contains simple packages indexes return a sorted list of normalized package names . This presumes every directory within is a simple package index directory .
def find_package_indexes_in_dir(self, simple_dir: Path) -> List[str]:
        """Given a directory that contains simple packages indexes, return
        a sorted list of normalized package names.  This presumes every
        directory within is a simple package index directory."""
        simple_path = self.storage_backend.PATH_BACKEND(str(simple_dir))
        return sorted(
            {
                canonicalize_name(str(x.parent.relative_to(simple_path)))
                for x in simple_path.glob("**/index.html")
                if str(x.parent.relative_to(simple_path)) != "."
            }
        )
def find_package_indexes_in_dir ( self , simple_dir : Path ) -> List [ str ] : simple_path = self . storage_backend . PATH_BACKEND ( str ( simple_dir ) ) return sorted ( { canonicalize_name ( str ( x . parent . relative_to ( simple_path ) ) ) for x in simple_path . glob ( "**/index.html" ) if str ( x . parent . relative_to ( simple_path ) ) != "." } )