def __init__( self, paths: Optional[List[str]] = None, python: Tuple[int, ...] = sys.version_info[:3], ): self.env = pkg_resources.Environment(paths, python=python) self.pkg_ws = pkg_resources.WorkingSet(paths) self.__add_editable_dists()
def __init__( self, paths: Optional[List[str]] = None, python: str = pkg_resources.PY_MAJOR, ): self.env = pkg_resources.Environment(paths, python=python) self.pkg_ws = pkg_resources.WorkingSet(paths) self.__add_editable_dists()