Skip to content

Commit

Permalink
removed manifest.in
Browse files Browse the repository at this point in the history
  • Loading branch information
nobbi1991 committed Apr 1, 2024
1 parent 3ef9a3f commit dd68657
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ FROM python:3.11

COPY --from=buildimage /root/wheels /root/wheels
COPY container/entrypoint.sh /entrypoint.sh
COPY resources/ /resources

ENV HABAPP_HOME=/habapp \
USER_ID=9001 \
Expand Down
1 change: 0 additions & 1 deletion Manifest.in

This file was deleted.

2 changes: 1 addition & 1 deletion habapp_rules/energy/monthly_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def _create_html(self, energy_sum_month: float) -> str:
</body>
</html>
"""
html_template = pkg_resources.resource_string("resources.energy", "monthly_report_template.html").decode("utf-8")
html_template = pkg_resources.resource_string("habapp_rules.energy", "monthly_report_template.html").decode("utf-8")

return jinja2.Template(html_template).render(
month=_get_previous_month_name(),
Expand Down
Empty file removed resources/__init__.py
Empty file.
Empty file removed resources/energy/__init__.py
Empty file.
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ def load_req() -> typing.List[str]:
install_requires=load_req(),
python_requires=">=3.10",
license="Apache License 2.0",
include_package_data=True
)
package_data={'': ['*.html']})

0 comments on commit dd68657

Please sign in to comment.