Skip to content

Commit

Permalink
pybamm-team#3049 correctly specify inclusion of packages
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal authored and js1tr3 committed Aug 12, 2024
1 parent 12e6426 commit aceb478
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,4 @@ pybamm = [
]

[tool.setuptools.packages.find]
include = ["pybamm"]
include = ["pybamm", "pybamm.*"]
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,8 @@ def compile_KLU():
# Project metadata was moved to pyproject.toml (which is read by pip). However, custom
# build commands and setuptools extension modules are still defined here.
setup(
# silence "Package would be ignored" warnings
include_package_data=True,
ext_modules=ext_modules,
cmdclass={
"build_ext": CMakeBuild,
Expand Down

0 comments on commit aceb478

Please sign in to comment.