feat: migrate setup configuration to pyproject.toml and simplify setup.py

This commit is contained in:
pacnpal
2025-01-28 21:41:00 -05:00
parent a24da9082d
commit b25fe5cb2b
2 changed files with 25 additions and 21 deletions

View File

@@ -1,22 +1,3 @@
from setuptools import setup, find_packages
from pathlib import Path
from setuptools import setup
setup(
name="simpleguardhome",
version="0.1.0",
packages=find_packages(where="src"),
package_dir={"": "src"},
include_package_data=True,
package_data={
"simpleguardhome": ["templates/*", "favicon.ico"]
},
python_requires=">=3.7",
install_requires=[
"fastapi",
"uvicorn",
"python-dotenv",
"httpx",
"pydantic",
"jinja2",
],
)
setup()