Files
simpleguardhome/setup.py
pacnpal 99d8265235 feat(main.py): add endpoint to unblock a domain and improve error handling
fix(userscript): update default port and restore 404 response interception
2025-01-29 15:46:11 -05:00

28 lines
972 B
Python

from setuptools import setup, find_namespace_packages # type: ignore
if __name__ == "__main__":
try:
setup(
package_dir={"": "src"},
packages=find_namespace_packages(where="src", include=["simpleguardhome*"]),
package_data={
"simpleguardhome": [
"templates/*",
"favicon.ico"
]
},
include_package_data=True,
install_requires=[
"fastapi",
"uvicorn",
"python-dotenv",
"httpx",
"pydantic",
"jinja2",
]
)
except Exception as e:
print(f"\n\nAn error occurred while building the project: {e}\n"
"Please ensure you have the most updated version of setuptools, "
"setuptools_scm and wheel with:\n"
" pip install -U setuptools setuptools_scm wheel\n\n")