Weird packaging thing

This commit is contained in:
Isaac Shoebottom 2024-11-20 19:34:35 -04:00
parent 1762843ba4
commit d4011ee9ec
4 changed files with 8 additions and 4 deletions

View File

@ -4,9 +4,9 @@ import requests
import importlib import importlib
import logging import logging
import slugify import slugify
import settings
import time import time
import croniter import croniter
from settings import settings
def main(): def main():
config = settings.load_settings() config = settings.load_settings()

View File

@ -1,9 +1,14 @@
[tool.poetry] [tool.poetry]
name = "daily-wallpaper" name = "DailyWallpaper"
version = "0.1.0" version = "0.1.0"
description = "" description = ""
authors = ["Isaac Shoebottom <ir.shoebottom@gmail.com>"] authors = ["Isaac Shoebottom <ir.shoebottom@gmail.com>"]
readme = "README.md" readme = "README.md"
packages = [
{ include = "providers"},
{ include = "settings"},
{ include = "app"}
]
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.11" python = "^3.11"
@ -14,8 +19,7 @@ tomlkit = "^0.13.2"
croniter = "^5.0" croniter = "^5.0"
[tool.poetry.scripts] [tool.poetry.scripts]
daily-wallpaper = "app.daily_wallpaper:__main__" DailyWallpaper = "app.main:main"
[build-system] [build-system]
requires = ["poetry-core"] requires = ["poetry-core"]

0
settings/__init__.py Normal file
View File