unirtos-cli 1.0.0__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.
@@ -0,0 +1,70 @@
1
+ Metadata-Version: 2.4
2
+ Name: unirtos-cli
3
+ Version: 1.0.0
4
+ Summary: Unirtos CLI Tool
5
+ Home-page: https://github.com/githubChenchi/unirtos-cli
6
+ Author: chavis.chen
7
+ Author-email: chavis.chen@quectel.com
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3.9
10
+ Classifier: Programming Language :: Python :: 3.10
11
+ Classifier: Programming Language :: Python :: 3.11
12
+ Classifier: Programming Language :: Python :: 3.12
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Requires-Python: >=3.9
16
+ Description-Content-Type: text/markdown
17
+
18
+ # unirtos-cli 构建指南
19
+
20
+ ## 环境准备
21
+
22
+ ```bash
23
+ sudo apt update
24
+ sudo apt install python3 python3-pip -y
25
+ pip3 install --upgrade build twine
26
+ ```
27
+
28
+ ## 构建分发包
29
+
30
+ ```bash
31
+ python3 -m build
32
+ ```
33
+
34
+ 构建完成后,根目录会生成 dist/ 文件夹,包含:
35
+
36
+ - unirtos_cli-1.0.0.tar.gz(源码包)
37
+ - unirtos_cli-1.0.0-py3-none-any.whl(wheel 包,跨平台通用)
38
+
39
+ ## 本地验证
40
+
41
+ ### 安装 wheel 包
42
+ ```bash
43
+ pip3 install --force-reinstall dist/unirtos_cli-1.0.0-py3-none-any.whl
44
+ ```
45
+
46
+ ### 验证 unirtos-cli 命令行工具
47
+ ```bash
48
+ unirtos-cli version
49
+ ```
50
+
51
+ ## 上传到 PyPI
52
+
53
+ ### 上传分发包
54
+
55
+ > 先注册 PyPI 账号,并获取 API Token
56
+
57
+ ```bash
58
+ twine upload --repository pypi dist/*
59
+ ```
60
+
61
+ ### 安装 unirtos-cli
62
+
63
+ ```bash
64
+ pip install --upgrade unirtos-cli==1.0.0
65
+ ```
66
+
67
+ ### 验证 unirtos-cli 命令行工具
68
+ ```bash
69
+ unirtos-cli version
70
+ ```
@@ -0,0 +1,53 @@
1
+ # unirtos-cli 构建指南
2
+
3
+ ## 环境准备
4
+
5
+ ```bash
6
+ sudo apt update
7
+ sudo apt install python3 python3-pip -y
8
+ pip3 install --upgrade build twine
9
+ ```
10
+
11
+ ## 构建分发包
12
+
13
+ ```bash
14
+ python3 -m build
15
+ ```
16
+
17
+ 构建完成后,根目录会生成 dist/ 文件夹,包含:
18
+
19
+ - unirtos_cli-1.0.0.tar.gz(源码包)
20
+ - unirtos_cli-1.0.0-py3-none-any.whl(wheel 包,跨平台通用)
21
+
22
+ ## 本地验证
23
+
24
+ ### 安装 wheel 包
25
+ ```bash
26
+ pip3 install --force-reinstall dist/unirtos_cli-1.0.0-py3-none-any.whl
27
+ ```
28
+
29
+ ### 验证 unirtos-cli 命令行工具
30
+ ```bash
31
+ unirtos-cli version
32
+ ```
33
+
34
+ ## 上传到 PyPI
35
+
36
+ ### 上传分发包
37
+
38
+ > 先注册 PyPI 账号,并获取 API Token
39
+
40
+ ```bash
41
+ twine upload --repository pypi dist/*
42
+ ```
43
+
44
+ ### 安装 unirtos-cli
45
+
46
+ ```bash
47
+ pip install --upgrade unirtos-cli==1.0.0
48
+ ```
49
+
50
+ ### 验证 unirtos-cli 命令行工具
51
+ ```bash
52
+ unirtos-cli version
53
+ ```
@@ -0,0 +1,3 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
@@ -0,0 +1,42 @@
1
+ [metadata]
2
+ name = unirtos-cli
3
+ version = 1.0.0
4
+ author = chavis.chen
5
+ author_email = chavis.chen@quectel.com
6
+ description = Unirtos CLI Tool
7
+ long_description = file: README.md
8
+ long_description_content_type = text/markdown
9
+ url = https://github.com/githubChenchi/unirtos-cli
10
+ classifiers =
11
+ Programming Language :: Python :: 3
12
+ Programming Language :: Python :: 3.9
13
+ Programming Language :: Python :: 3.10
14
+ Programming Language :: Python :: 3.11
15
+ Programming Language :: Python :: 3.12
16
+ Operating System :: OS Independent
17
+ License :: OSI Approved :: MIT License
18
+
19
+ [options]
20
+ package_dir =
21
+ = .
22
+ packages = find:
23
+ python_requires = >=3.9
24
+ include_package_data = true
25
+ zip_safe = false
26
+
27
+ [options.package_data]
28
+ unirtos_cli =
29
+ app-tmpl/*
30
+ app-tmpl/**/*
31
+ tools/*
32
+ tools/**/*
33
+ *.py
34
+
35
+ [options.entry_points]
36
+ console_scripts =
37
+ unirtos-cli = unirtos_cli.__main__:main
38
+
39
+ [egg_info]
40
+ tag_build =
41
+ tag_date = 0
42
+
File without changes