mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-26 03:18:52 -06:00
refactor: release and installer tools read root
Code about to move into a package reads core.paths.REPO_ROOT, and the release tools stop inserting their own folder on sys.path: scripts/ is on it for every command and package module.
This commit is contained in:
1 parent
fa408c4299
commit
5b3b3f19e8
11 files changed
+13
-13
No files matched your search
@@ -49,11 +49,12 @@ from typing import TYPE_CHECKING, Any, Callable
|
||||
|
||||
from sitegen import handheld as sitehandheld
|
||||
from core.artifacts import write_text_atomic
|
||||
from core.paths import REPO_ROOT
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from install import LocalCopy, Progress, _OsRule
|
||||
|
||||
ROOT = Path(__file__).resolve().parent.parent
|
||||
ROOT = REPO_ROOT
|
||||
PAGE = ROOT / "wiki" / "installer.md"
|
||||
INSTALLER = ROOT / "install.py"
|
||||
|
||||
|
||||
Reference in new issue
Block a user