Skip to content

PyInstaller cannot correctly package the plugin library ruamel.yaml.string of ruamel.yaml #8960

Answered by rokm
kaixinol asked this question in Help
Discussion options

You must be logged in to vote

Looks like ruamel/yaml/string/__plug_in__.py needs to be collected as a data file as well, based on this plugin listing code from ruamel.yaml.

So --add-data ./GameYamlSpiderAndGenerator/.venv/lib/python3.12/site-packages/ruamel/yaml/string/__plug_in__.py:ruamel/yaml/string.

But I'll look into adding a hook so that this will be handled automatically and out-of-the-box (i.e., collect the submodules and force collection mode as pyz+py).

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rokm
Comment options

rokm Dec 29, 2024
Maintainer

Answer selected by kaixinol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants