Skip to main content

unirtos-cli 构建指南

环境准备

sudo apt update
sudo apt install python3 python3-pip -y
pip3 install --upgrade build twine

构建分发包

python3 -m build

构建完成后,根目录会生成 dist/ 文件夹,包含:

  • unirtos_cli-1.0.11.tar.gz(源码包)
  • unirtos_cli-1.0.11-py3-none-any.whl(wheel 包,跨平台通用)

本地验证

安装 wheel 包

pip3 install --force-reinstall dist/unirtos_cli-1.0.11-py3-none-any.whl

验证 unirtos-cli 命令行工具

unirtos-cli version

上传到 PyPI

上传分发包

先注册 PyPI 账号,并获取 API Token

twine upload --repository pypi dist/*

安装 unirtos-cli

pip install --upgrade unirtos-cli==1.0.11

验证 unirtos-cli 命令行工具

unirtos-cli version

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unirtos_cli-1.0.11.tar.gz (28.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unirtos_cli-1.0.11-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

Details for the file unirtos_cli-1.0.11.tar.gz.

File metadata

  • Download URL: unirtos_cli-1.0.11.tar.gz
  • Upload date:
  • Size: 28.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for unirtos_cli-1.0.11.tar.gz
Algorithm Hash digest
SHA256 aa28447e2d2398451f4481426f3e68cb16a8d9628cd14c663d03f6db39752817
MD5 f704cfa5914edf3914a5b94a50f04e0a
BLAKE2b-256 22e08bee247b617cba8ed3da3ece95971c214f9473b01b561c03eda3146eef09

See more details on using hashes here.

File details

Details for the file unirtos_cli-1.0.11-py3-none-any.whl.

File metadata

  • Download URL: unirtos_cli-1.0.11-py3-none-any.whl
  • Upload date:
  • Size: 30.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for unirtos_cli-1.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 aeba659782367fd9ca54c895bf0f383b4db3bae0255099f2a5547f6b4530f665
MD5 3c2807f7ecc10a7fc5aa29f965d961e6
BLAKE2b-256 ff324a717c823a5d025182a440933ec29bdde64d32aa4f192fe59bc13f4e5e97

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.20

2 files

1.0.19

2 files

1.0.18

2 files

1.0.17

2 files

1.0.16

2 files

1.0.15

2 files

1.0.14

2 files

1.0.13

2 files

1.0.12

2 files

This release

1.0.11 This release

2 files

1.0.10

2 files

1.0.9

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page