Skip to content

Commit

Permalink
fix find_package() to import submodules after install from source
Browse files Browse the repository at this point in the history
  • Loading branch information
mckenziephagen committed Oct 3, 2023
1 parent be6afe7 commit e69f538
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e69f538

Please sign in to comment.