Add somewhat working build system

This commit is contained in:
Isaac Shoebottom 2024-11-21 01:10:58 -04:00
parent 107e71189c
commit ef3aa58fe9

View File

@ -22,6 +22,11 @@ pywin32 = "^308"
[tool.poetry.scripts] [tool.poetry.scripts]
DailyWallpaper = "app.main:main" 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] [build-system]
requires = ["poetry-core"] requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api" build-backend = "poetry.core.masonry.api"