sdev 0.5.2__tar.gz → 0.5.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sdev
3
- Version: 0.5.2
3
+ Version: 0.5.3
4
4
  Summary: 串口控制器工具包
5
5
  Home-page: https://github.com/klrc/sdev
6
6
  Author: klrc
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "sdev"
7
- version = "0.5.2"
7
+ version = "0.5.3"
8
8
  description = "串口控制器工具包"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -9,7 +9,7 @@ from __future__ import annotations
9
9
 
10
10
  from .models import Demoboard
11
11
 
12
- __version__ = "0.5.2"
12
+ __version__ = "0.5.3"
13
13
  __author__ = "klrc"
14
14
  __email__ = "1440698245@qq.com"
15
15
 
@@ -472,6 +472,9 @@ def cmd_demoboard_list(args: argparse.Namespace) -> int:
472
472
  if args.local:
473
473
  return cmd_list_local(args)
474
474
 
475
+ # 延迟导入以避免无关子命令时的额外依赖开销。
476
+ from ..base.serial_core import scan_serial_ports
477
+
475
478
  # 本地与远程发现阶段并行:
476
479
  # - 线程 A:本地串口非阻塞检查(不输出);
477
480
  # - 线程 B:远程 host 发现 + boards 列表拉取(不输出);
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sdev
3
- Version: 0.5.2
3
+ Version: 0.5.3
4
4
  Summary: 串口控制器工具包
5
5
  Home-page: https://github.com/klrc/sdev
6
6
  Author: klrc
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
5
5
 
6
6
  setup(
7
7
  name="sdev",
8
- version="0.5.2",
8
+ version="0.5.3",
9
9
  author="klrc",
10
10
  author_email="144069824@qq.com",
11
11
  description="串口控制器工具包",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes