From ef3aa58fe9b7d39c64d14056fdd600186bf756de Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Thu, 21 Nov 2024 01:10:58 -0400 Subject: [PATCH] Add somewhat working build system --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 30a1794..9b870b7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,11 @@ pywin32 = "^308" [tool.poetry.scripts] DailyWallpaper = "app.main:main" +# https://pypi.org/project/poetry-pyinstaller-plugin/ +# https://stackoverflow.com/a/78050613 +[tool.poetry-pyinstaller-plugin.scripts] +DailyWallpaper = { source = "app/main.py", type = "onedir", bundle = false } + [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"