mirror of
https://github.com/pacnpal/simpleguardhome.git
synced 2025-12-20 04:21:13 -05:00
feat(docker): enhance Dockerfile and entrypoint script with improved debugging outputs; update .dockerignore for better file management
This commit is contained in:
27
setup.py
27
setup.py
@@ -1,23 +1,28 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from setuptools import setup
|
||||
from setuptools import setup, find_namespace_packages
|
||||
|
||||
if __name__ == "__main__":
|
||||
try:
|
||||
setup(
|
||||
package_dir={"": "src"},
|
||||
packages=["simpleguardhome"],
|
||||
packages=find_namespace_packages(where="src", include=["simpleguardhome*"]),
|
||||
package_data={
|
||||
"simpleguardhome": [
|
||||
"templates/*",
|
||||
"favicon.ico"
|
||||
]
|
||||
},
|
||||
include_package_data=True
|
||||
include_package_data=True,
|
||||
install_requires=[
|
||||
"fastapi",
|
||||
"uvicorn",
|
||||
"python-dotenv",
|
||||
"httpx",
|
||||
"pydantic",
|
||||
"jinja2",
|
||||
]
|
||||
)
|
||||
except: # noqa
|
||||
print(
|
||||
"\n\nAn error occurred while building the project, "
|
||||
"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"
|
||||
)
|
||||
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")
|
||||
Reference in New Issue
Block a user