Getting Started¶
Introduction¶
Poetry PyInstaller Plugin is a lightweight extension for Poetry that makes packaging Python applications into standalone executables effortless.
It bridges the gap between Poetry’s dependency management and PyInstaller binary packaging, letting you build distributable apps directly from your Poetry project without leaving the familiar poetry workflow.
With a single command, you can bundle your Python project (including all dependencies and metadata) into a platform-native executable, perfect for distribution to users without Python installed.
Project Links
- PyPI Project: pypi.org - poetry-pyinstaller-plugin
- Source Code: github.com - thmahe/poetry-pyinstaller-plugin
- Issue Tracker: github.com - thmahe/poetry-pyinstaller-plugin/issues
- Documentation: poetry-pyinstaller-plugin.tmahe.fr
Installation¶
To install poetry-pyinstaller-plugin add the following section to your pyproject.toml
[tool.poetry.requires-plugins]
poetry-pyinstaller-plugin = { version = ">=2.0.0,<3.0.0", extras = ["plugin"] }
To complete the installation:
Well done, your project is ready for pyinstaller builds !Depending on installation method, use one of the following command:
OrTo complete the installation:
Well done, your project is ready for pyinstaller builds !Info
If you are having troubles installing the plugin please refer to Poetry documentation - Using Plugins
Check plugin version¶
To check plugin installation you can run the following command: