diff --git a/pyproject.toml b/pyproject.toml index a7f06e7..6f82d67 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,6 +27,10 @@ dev = [ [tool.setuptools.packages.find] where = ["src"] +[tool.setuptools.package-data] +# The email logo (mail_templates.py) ships inside the package. +inkwell = ["assets/*.png"] + [tool.pytest.ini_options] asyncio_mode = "auto" testpaths = ["tests"] diff --git a/src/inkwell/assets/email-logo.png b/src/inkwell/assets/email-logo.png new file mode 100644 index 0000000..204fcf0 Binary files /dev/null and b/src/inkwell/assets/email-logo.png differ diff --git a/src/inkwell/mail_templates.py b/src/inkwell/mail_templates.py index e77a20f..83d8815 100644 --- a/src/inkwell/mail_templates.py +++ b/src/inkwell/mail_templates.py @@ -7,9 +7,11 @@ and the link. The HTML is deliberately email-shaped rather than web-shaped. It uses tables and inline styles, because many mail clients drop `