mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-28 04:18:52 -06:00
refactor: recipe modules read the repo root
This commit is contained in:
1 parent
5f7cbdc582
commit
664776ae91
3 files changed
+7
-8
No files matched your search
@@ -34,7 +34,6 @@ import io
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
import zipfile
|
||||
from collections import defaultdict
|
||||
from collections.abc import Callable, Iterable
|
||||
@@ -43,12 +42,10 @@ from dataclasses import dataclass, field
|
||||
from pathlib import Path
|
||||
from typing import BinaryIO
|
||||
|
||||
sys.path.insert(0, str(Path(__file__).resolve().parent))
|
||||
|
||||
from core.torrentzip import Source as Readable
|
||||
from core.paths import REPO_ROOT
|
||||
from core.torrentzip import write_torrentzip, zlib_ng_version
|
||||
|
||||
REPO_ROOT = Path(__file__).resolve().parent.parent
|
||||
ARCHIVES_FILE = REPO_ROOT / "recipes" / "archives.json"
|
||||
# The writer contract: build_torrentzip's layout over stock zlib. A change to
|
||||
# the layout is a new builder name and a new proof of every record.
|
||||
|
||||
Reference in new issue
Block a user