From af62e4c2b201ad1a400f92b45c6d0037d97cb552 Mon Sep 17 00:00:00 2001 From: Jacob Rief Date: Mon, 9 Sep 2024 21:32:30 +0200 Subject: [PATCH] use find_namespace_packages to fix build error --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 4c067e5..9d1cbff 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ #!/usr/bin/env python import io -from setuptools import setup, find_packages +from setuptools import setup, find_namespace_packages from adminsortable2 import __version__ @@ -48,7 +48,7 @@ def readfile(filename): install_requires=[ 'Django>=4.2', ], - packages=find_packages(exclude=['client', 'testapp', 'testapp*', 'docs']), + packages=find_namespace_packages(exclude=['client', 'testapp', 'testapp*', 'docs']), include_package_data=True, zip_safe=False, )