thmahe / poetry-pyinstaller-plugin

Poetry plugin to build and/or bundle binaries with PyInstaller
https://pypi.org/project/poetry-pyinstaller-plugin/
MIT License
12 stars 6 forks source link

Running with --format the option is ignored #7

Closed akinnear closed 1 week ago

akinnear commented 1 month ago

If you run the poetry build command the PyInstaller is always run and ignores the --format option. Without an option everything should be built, which is the case. When running with the --format=wheel option only the wheel should be built, the --format=sdist should only build the source distribution and there should be an option for --format=pyinstaller to only build the pyinstaller application.

thmahe commented 1 week ago

Hi @akinnear,

Pyinstaller build are now skipped (v1.1.11) when --format option is specified.

Project relying on bundle feature will still build pyinstaller targets when --format=wheel option is set.