(cls)
| 17 | |
| 18 | @classmethod |
| 19 | def get_mirror_path(cls) -> typing.Optional[Path]: |
| 20 | if cls._mirror_path is None: |
| 21 | if env_path := os.environ.get('AURA_MIRROR_PATH', None): |
| 22 | cls._mirror_path = Path(env_path) |
| 23 | else: |
| 24 | cls._mirror_path = Path(CFG["aura"]["mirror"]) |
| 25 | |
| 26 | return cls._mirror_path |
| 27 | |
| 28 | @classmethod |
| 29 | def list_packages(cls) -> typing.Generator[Path, None, None]: |