From 43b64c31a555b46b850b7b13069d6d01fa4e469f Mon Sep 17 00:00:00 2001 From: rvbg Date: Fri, 24 May 2024 04:48:50 +0200 Subject: [PATCH] Update README.md with fix notice https://github.com/JackMcKew/pyinstaller-action-windows/issues/51 --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 611e99f..bbfc5a5 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,25 @@ If you wish to specify a package mirror, this is possibly via the `pypi_url` and > This action uses [Wine](https://www.winehq.org) to emulate windows inside Docker for packaging POSIX executables. +## CURRENT ISSUE: `ModuleNotFoundError pkg_resources.extern` +The pkg_resources hook for setuptools>=v70.0.0 is currently missing in pyinstaller 5.13, which is used in this Github Action. + +To address this, a future version of this project will incorporate pyinstaller>=6.7 to resolve the issue. +However, in the interim, it is necessary to manually include a hiddenimport to the `.spec` file. + +Include `hiddenimports=['pkg_resources.extern'],` in your `.spec` file, something like this: +``` +a = Analysis( + + hiddenimports=['pkg_resources.extern'], +) +``` + +For further assistance, please refer to the following issues: +- JackMcKew/pyinstaller-action-windows#51 +- pyinstaller/pyinstaller#8554 + + ## Example usage There's an example repository where you can see this action in action: .