diff --git a/MANIFEST.in b/MANIFEST.in index 5748b57fe..271628638 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,5 @@ -include LICENSE include README.rst +recursive-include filer *.py recursive-include filer/locale * recursive-include filer/static * recursive-include filer/templates * diff --git a/pyproject.toml b/pyproject.toml index 913fc6d6e..64fa99a06 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,10 +57,13 @@ heif = ["pillow-heif"] Homepage = "https://github.com/django-cms/django-filer" [tool.setuptools] -packages = ["filer"] include-package-data = true zip-safe = false +[tool.setuptools.packages.find] +where = ["."] +include = ["filer*"] + [tool.setuptools.dynamic] version = {attr = "filer.__version__"} @@ -110,4 +113,4 @@ sections = [ ] known_first_party = ["filer"] known_cms = ["cms", "menus"] -known_django = ["django"] \ No newline at end of file +known_django = ["django"]