From e69f5387b247345dd52c10a82e8169484deb7d33 Mon Sep 17 00:00:00 2001 From: mckenziephagen Date: Tue, 3 Oct 2023 13:42:05 -0700 Subject: [PATCH] fix find_package() to import submodules after install from source --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 01fe88d..1c1007c 100644 --- a/setup.py +++ b/setup.py @@ -86,7 +86,8 @@ def finalize_options(self): # You can just specify the packages manually here if your project is # simple. Or you can use find_packages(). package_dir={'': 'src'}, - packages=find_packages(), + packages=find_packages() + + find_packages(where="./src"), package_data={'pyuoi': ['data/*.h5']}, # Alternatively, if you want to distribute just a my_module.py, uncomment