diff --git a/pyproject.toml b/pyproject.toml index 61c1eb80996bd26acdeb68a610f82e5f7b85b094..4238db4b1310dd33299485c887130ac16e98f636 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,3 +49,12 @@ testpaths = [ [project.entry-points.pyinstaller40] "hook-dirs" = "orekit_jpype._pyinstaller.entry_points:get_hook_dirs" "tests" = "orekit_jpype._pyinstaller.entry_points:get_PyInstaller_tests" + +[tool.hatch.build.targets.wheel] +# Hatch allows installing multiple packages: https://hatch.pypa.io/1.12/config/build/#packages +packages = [ + "orekit_jpype", + "java-stubs", # stub-only package for the corresponding Java package https://peps.python.org/pep-0561/#stub-only-packages + "jpype-stubs", # stub-only package for the corresponding Java package https://peps.python.org/pep-0561/#stub-only-packages + "org-stubs" # stub-only package for the corresponding Java package https://peps.python.org/pep-0561/#stub-only-packages +]