From eded038585c11085d279b230cdd84c49b7bfd8cc Mon Sep 17 00:00:00 2001 From: wsn-dev <17966949+wsn-dev@users.noreply.github.com> Date: Mon, 2 Sep 2024 18:21:38 +0200 Subject: [PATCH] Bugfix/26 glob missing import With https://github.com/thmahe/poetry-pyinstaller-plugin/pull/26 the import of the glob package was removed and a custom function _glob was implemented. This now leads to the issue: name 'glob' is not defined. This pull request no replaces the missed replacement of glob. --- poetry_pyinstaller_plugin/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poetry_pyinstaller_plugin/plugin.py b/poetry_pyinstaller_plugin/plugin.py index dcbe7d6..34e30f5 100644 --- a/poetry_pyinstaller_plugin/plugin.py +++ b/poetry_pyinstaller_plugin/plugin.py @@ -237,7 +237,7 @@ def build(self, raise def bundle_wheel(self, io): - wheels = glob.glob("*-py3-none-any.whl", root_dir="dist") + wheels = _glob("*-py3-none-any.whl", root_dir="dist") for wheel in wheels: if self._platform and self.prog: folder_to_add = Path("dist", "pyinstaller", self._platform, self.prog)