From bc9a7d3832906d79b944fbc18371fe4040f7f09c Mon Sep 17 00:00:00 2001 From: ace Date: Sun, 1 Oct 2023 09:01:55 +0300 Subject: [PATCH 1/2] Updated pyproject.toml for include the template files. --- pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 4a7c150..13d0928 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,3 +20,9 @@ classifiers = [ [project.urls] "Homepage" = "https://git.vickys-corner.xyz/ace/starfields-drf-generics" +[options.packages.find] +where = starfields_drf_generics + +[options.package_data] +templates.filters = + *.html \ No newline at end of file From 760a56185923aba523f860b41a9ae279e42a1d61 Mon Sep 17 00:00:00 2001 From: ace Date: Sun, 1 Oct 2023 09:08:04 +0300 Subject: [PATCH 2/2] Had mistakenly put the setup.cfg format in pyproject.toml. --- pyproject.toml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 13d0928..8a62a18 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,9 +20,8 @@ classifiers = [ [project.urls] "Homepage" = "https://git.vickys-corner.xyz/ace/starfields-drf-generics" -[options.packages.find] -where = starfields_drf_generics +[tool.setuptools.packages.find] +where = ["starfields_drf_generics"] -[options.package_data] -templates.filters = - *.html \ No newline at end of file +[tool.setuptools.package-data] +"templates.filters" = ["*.html"] \ No newline at end of file