Skip to content

Commit a3cc66f

Browse files
committed
Fix: Proper includes for Python wheel
Previous wheels did not include the package sources. This change makes sure the top-level dm_robotics directory is included even though it does not contain a __init__.py file for compatibility with other packages under the same directory.
1 parent b13c727 commit a3cc66f

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ requires = ["hatchling"]
33
build-backend = "hatchling.build"
44

55
[tool.hatch.build]
6-
include = ["src"]
7-
sources = ["src"]
6+
include = [
7+
"dm_robotics",
8+
]
9+
10+
[tool.hatch.build.sources]
11+
"src/dm_robotics/panda" = "dm_robotics/panda"
812

913
[project]
1014
name = "dm-robotics-panda"

0 commit comments

Comments
 (0)