feat: add runtime dependencies for IMU functionality

- Add numpy<2.0 for numerical computations with IMU data
- Add pyserial>=3.5 for serial communication with IMU hardware
- Add gradio for web-based user interface

These dependencies enable core features like data processing, hardware connectivity, and UI interaction for the IMU package. Updated pyproject.toml, with resulting changes in requires.txt and PKG-INFO.
This commit is contained in:
2025-12-09 13:11:48 +08:00
parent c3dac34dcc
commit 8c76cf23a7
6 changed files with 33 additions and 0 deletions

View File

@@ -11,6 +11,9 @@ Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pybind11>=2.10
Requires-Dist: numpy<2.0
Requires-Dist: pyserial>=3.5
Requires-Dist: gradio
Dynamic: author
Dynamic: license-file
Dynamic: requires-python

View File

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

View File

@@ -12,6 +12,9 @@ license = "MIT"
authors = [{name = "allenyuan", email = "allenyuan410@gmail.com"}]
dependencies = [
"pybind11>=2.10",
"numpy<2.0",
"pyserial>=3.5",
"gradio",
]
classifiers = [
"Programming Language :: Python :: 3",

22
pyproject.toml.bak Normal file
View File

@@ -0,0 +1,22 @@
[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",
]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
[tool.setuptools.packages.find]
where = ["dm_imu_pkg"]

View File

@@ -0,0 +1,2 @@
numpy<2.0
pyserial>=3.5