From 85f0a5a810f23356273e402c5a1ffd080b78fa1b Mon Sep 17 00:00:00 2001 From: "John T. Wodder II" Date: Thu, 9 Jun 2022 09:19:02 -0400 Subject: [PATCH 1/2] Properly include "data packages" in project --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 759ef9be6..2b588e88c 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from pathlib import Path -from setuptools import find_packages, setup +from setuptools import find_namespace_packages, setup readme_file = Path(__file__).parent / 'README.md' if readme_file.exists(): @@ -35,7 +35,7 @@ 'Programming Language :: Python', ], python_requires='>=3.9', - packages=find_packages(), + packages=find_namespace_packages(include=["dandiapi*"]), include_package_data=True, install_requires=[ 'celery', From 440620590057c34491de27731bace4f431e6a775 Mon Sep 17 00:00:00 2001 From: "John T. Wodder II" Date: Tue, 14 Jun 2022 17:28:36 -0400 Subject: [PATCH 2/2] Update setup.py Co-authored-by: Mike VanDenburgh <37340715+mvandenburgh@users.noreply.github.com> --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2b588e88c..d869418c1 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ 'Programming Language :: Python', ], python_requires='>=3.9', - packages=find_namespace_packages(include=["dandiapi*"]), + packages=find_namespace_packages(include=['dandiapi*']), include_package_data=True, install_requires=[ 'celery',