Skip to content

Commit

Permalink
ci: fix bundle building
Browse files Browse the repository at this point in the history
  • Loading branch information
regisb committed Feb 9, 2024
1 parent 439b7d0 commit b69a8c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tutor.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- mode: python -*-
import importlib
import os
from importlib_metadata
import importlib_metadata

block_cipher = None

Expand All @@ -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):
Expand Down

0 comments on commit b69a8c7

Please sign in to comment.