refactor: move pack library code into packs/

This commit is contained in:
Abdessamad Derraz committed 2026-11-18 13:47:31 +01:00
1 parent 4d4052a8ab
commit 0b532366d0
167 files changed
+14476 -13882

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ def _pack_path(platform_name: str) -> str | None:
"""Path of the platform's full pack, by the exact name the builder writes."""
if not os.path.isdir(DIST_DIR):
return None
from generate_pack import _expected_pack_names
from packs.naming import _expected_pack_names
names = _expected_pack_names([platform_name], PLATFORMS_DIR, [], None)
for entry in sorted(names[platform_name]):