diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c5240d..8692065 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +## [2024.10.3] + +- Fix issue with files not being included in the package. + ## [2024.10.2] Minor fixes and improvements. diff --git a/pyproject.toml b/pyproject.toml index 14d50de..b390788 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [build-system] -requires = ["setuptools>=70.0"] +requires = ["setuptools>=75.2"] build-backend = "setuptools.build_meta" [project] name = "django-templated-email-md" -version = "2024.10.2" +version = "2024.10.3" description = "An extension for django-templated-email for creating emails with Markdown" authors = [{ name = "Jack Linke", email = "jacklinke@gmail.com" }] license = { text = "MIT" } @@ -78,6 +78,19 @@ dev-dependencies = [ "python-environ~=0.4", ] +# [tool.setuptools] +# # ... +# # By default, include-package-data is true in pyproject.toml, +# # so you do NOT have to specify this line. +# include-package-data = true +# package-dir = { "" = "src" } + +[tool.setuptools.packages.find] +where = ["src"] + +[tool.setuptools.package-data] +templated_email_md = ["templates/templated_email/*", "**/*.po"] + [tool.black] line-length = 120 target-version = ["py310", "py311", "py312", "py313"]