Skip to content

Commit d97ead8

Browse files
committed
Fixed bug with setuptools where static files were not included in build.
1 parent 5b146df commit d97ead8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

setup.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from setuptools import setup
1+
from setuptools import setup, find_packages
22

33
with open("README.md", "r") as fh:
44
long_description = fh.read()
@@ -11,7 +11,13 @@
1111
description="django-tables2 with AJAX searching and pagination.",
1212
long_description=long_description,
1313
long_description_content_type="text/markdown",
14+
url="https://github.com/LegendaryFire/django-responsive-tables2",
1415
python_requires='>=3.8',
16+
packages=find_packages(),
17+
include_package_data=True,
18+
setup_requires=[
19+
"setuptools-git >= 1.2",
20+
],
1521
install_requires=[
1622
'django >= 5.0.0',
1723
'django_tables2 >= 2.7.0',

0 commit comments

Comments
 (0)