def _get_versions_dir(self):
        if not ESKY_APPDATA_DIR:
            return self.appdir
        # TODO: remove compatability hooks for ESKY_APPDATA_DIR=""
        try:
            for nm in os.listdir(os.path.join(self.appdir, ESKY_APPDATA_DIR)):
                fullnm = os.path.join(self.appdir, ESKY_APPDATA_DIR, nm)
                if is_version_dir(fullnm) and is_installed_version_dir(fullnm):
                    return os.path.join(self.appdir, ESKY_APPDATA_DIR)
        except EnvironmentError:
            pass
        return self.appdir
Get the directory path containing individual version dirs.
dataset/ETHPy150Open cloudmatrix/esky/esky/__init__.py/Esky._get_versions_dir