File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -43,15 +43,6 @@ def get_long_description():
43
43
return '\n \n ' .join (ret )
44
44
45
45
46
- def get_packages (package ):
47
- """
48
- Return root package and all sub-packages.
49
- """
50
- return [dirpath
51
- for dirpath , dirnames , filenames in os .walk (package )
52
- if os .path .exists (os .path .join (dirpath , '__init__.py' ))]
53
-
54
-
55
46
def get_package_data (package ):
56
47
"""
57
48
Return all files under the root package, that are not in a
@@ -88,7 +79,7 @@ def get_package_data(package):
88
79
long_description = get_long_description (),
89
80
author = author ,
90
81
author_email = author_email ,
91
- packages = get_packages ( package ) ,
82
+ packages = [ 'rest_framework_datatables' , 'rest_framework_datatables.django_filters' ] ,
92
83
install_requires = [
93
84
'djangorestframework>=3.5.0'
94
85
],
You can’t perform that action at this time.
0 commit comments