refactor(build): restructure package layout and fix CMake build directory restoration

- Update pybind_src to point to project root instead of dm_imu subdirectory
- Change CMakeExtension module from "imu_py" to "dm_imu.imu_py"
- Switch to find_packages() with package_dir for automatic package discovery
- Add saving/restoring of CWD in CMake build to prevent directory side effects
This commit is contained in:
2025-12-10 21:11:21 +08:00
parent ced3669fac
commit 35efbfc91a
7 changed files with 28 additions and 4 deletions

Binary file not shown.

Binary file not shown.