Skip to content

Commit

Permalink
Fix issue with files not being included in the package.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacklinke committed Oct 22, 2024
1 parent e3bb5fa commit 31f8669
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
17 changes: 15 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 = "[email protected]" }]
license = { text = "MIT" }
Expand Down Expand Up @@ -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"]
Expand Down

0 comments on commit 31f8669

Please sign in to comment.