- 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.
26 lines
613 B
TOML
26 lines
613 B
TOML
[build-system]
|
|
requires = ["setuptools>=61", "wheel", "pybind11>=2.10", "cmake"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "dm_imu_pkg"
|
|
version = "0.1.0"
|
|
description = "Balance project with pybind11 IMU driver"
|
|
readme = "README.md"
|
|
requires-python = ">=3.8"
|
|
license = "MIT"
|
|
authors = [{name = "allenyuan", email = "allenyuan410@gmail.com"}]
|
|
dependencies = [
|
|
"pybind11>=2.10",
|
|
"numpy<2.0",
|
|
"pyserial>=3.5",
|
|
"gradio<6.0",
|
|
]
|
|
classifiers = [
|
|
"Programming Language :: Python :: 3",
|
|
"Operating System :: OS Independent",
|
|
]
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["dm_imu_pkg"]
|