Skip to content

Commit af62e4c

Browse files
committed
use find_namespace_packages to fix build error
1 parent 478d186 commit af62e4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22
import io
3-
from setuptools import setup, find_packages
3+
from setuptools import setup, find_namespace_packages
44
from adminsortable2 import __version__
55

66

@@ -48,7 +48,7 @@ def readfile(filename):
4848
install_requires=[
4949
'Django>=4.2',
5050
],
51-
packages=find_packages(exclude=['client', 'testapp', 'testapp*', 'docs']),
51+
packages=find_namespace_packages(exclude=['client', 'testapp', 'testapp*', 'docs']),
5252
include_package_data=True,
5353
zip_safe=False,
5454
)

0 commit comments

Comments
 (0)