From b69a8c7adc9adbd34943c820dad12ee2b750c981 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Fri, 9 Feb 2024 23:06:03 +0100 Subject: [PATCH] ci: fix bundle building --- tutor.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutor.spec b/tutor.spec index 1e6f591..035a564 100644 --- a/tutor.spec +++ b/tutor.spec @@ -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):