I've kept it as two commits in case a roll back needs to happen. I didn't want to make two pull requests as "extended_includes" requires "includes"
include_extended explained
The problem with a 1-1 with Poetry's include is that:
You cannot include directories, It will loosely place files into _internal
You cannot put files next to the pyinstaller executable. A included README would be placed into _internal and with a onefile install it would be worse than useless.
You cannot rename files. Ex: ENDUSER_README.md -> README.md
To add this functionality I've added three new settings:
Closes #10 and added
pipx inject
install method to README asself add
"may be problematic" 🤷Development flow with pipx:
Edit
I've kept it as two commits in case a roll back needs to happen. I didn't want to make two pull requests as "extended_includes" requires "includes"
include_extended explained
The problem with a 1-1 with Poetry's include is that:
_internal
_internal
and with a onefile install it would be worse than useless.ENDUSER_README.md
->README.md
To add this functionality I've added three new settings:
[poetry-pyinstaller-plugin.exclude-include]
(boolean=false)poetry.include
packing[poetry-pyinstaller-plugin.include]
(dict[source, destination])--add-data
[poetry-pyinstaller-plugin.package]
(dict[source, destination])[poetry-pyinstaller-plugin.package] caveat
It doesn't support creating nested destinations.
Example:
This does not work:
This does work: