Skip to content

Commit daa4793

Browse files
committed
tools/make-frozen: Update for latest changes in frozen modules support.
Frozen modules are now stored with extensions and with '/' as path separator. In other words, frozen modules paths stored as they are in normal filesystem.
1 parent fb742cd commit daa4793

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/make-frozen.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424

2525
def module_name(f):
26-
return f[:-len(".py")]
26+
return f
2727

2828
modules = []
2929

@@ -40,7 +40,7 @@ def module_name(f):
4040
print("const char mp_frozen_str_names[] = {")
4141
for f, st in modules:
4242
m = module_name(f)
43-
print('"%s\\0"' % m.replace("/", "."))
43+
print('"%s\\0"' % m)
4444
print('"\\0"};')
4545

4646
print("const uint32_t mp_frozen_str_sizes[] = {")

0 commit comments

Comments
 (0)