mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-09 00:21:11 +00:00
ci: fix bundle building
This commit is contained in:
parent
439b7d08f0
commit
b69a8c7adc
@ -1,7 +1,7 @@
|
||||
# -*- mode: python -*-
|
||||
import importlib
|
||||
import os
|
||||
from importlib_metadata
|
||||
import importlib_metadata
|
||||
|
||||
block_cipher = None
|
||||
|
||||
@ -19,7 +19,7 @@ for entrypoint_version in ["tutor.plugin.v0", "tutor.plugin.v1"]:
|
||||
continue
|
||||
plugin_root = os.path.dirname(plugin.__file__)
|
||||
plugin_root_module_name = os.path.basename(plugin_root)
|
||||
hidden_imports.append(entrypoint.module_name)
|
||||
hidden_imports.append(entrypoint.module)
|
||||
for folder in ["patches", "templates"]:
|
||||
path = os.path.join(plugin_root, folder)
|
||||
if os.path.exists(path):
|
||||
|
Loading…
Reference in New Issue
Block a user