feat: refactor project structure and update dependencies

- Rename app_ui.py to main.py for better naming convention
- Update balance.py import to use dm_imu_pkg.dm_imu_py for modularity
- Constrain Gradio version to <5.0 in pyproject.toml and <6.0 in PKG-INFO for compatibility
- Add compiled .so file for dm_imu_pkg and update cached .pyc files after builds
- Include motors_enabled flag in main.py UI for better state management

These changes improve code organization, resolve potential import issues, and ensure dependency compatibility in the balance controller project.
This commit is contained in:
2025-12-09 22:55:35 +08:00
parent 8c76cf23a7
commit f8d12a8348
11 changed files with 10 additions and 7 deletions

View File

@@ -13,7 +13,7 @@ License-File: LICENSE
Requires-Dist: pybind11>=2.10
Requires-Dist: numpy<2.0
Requires-Dist: pyserial>=3.5
Requires-Dist: gradio
Requires-Dist: gradio<5.0
Dynamic: author
Dynamic: license-file
Dynamic: requires-python

View File

@@ -1,4 +1,4 @@
pybind11>=2.10
numpy<2.0
pyserial>=3.5
gradio
gradio<5.0