Skip to content

Commit

Permalink
use find_namespace_packages to fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
jrief committed Sep 9, 2024
1 parent 478d186 commit af62e4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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__


Expand Down Expand Up @@ -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,
)

0 comments on commit af62e4c

Please sign in to comment.