Skip to main content

Unirtos CLI Tool

Project description

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.0.tar.gz(源码包)
  • unirtos_cli-1.0.0-py3-none-any.whl(wheel 包,跨平台通用)

本地验证

安装 wheel 包

pip3 install --force-reinstall dist/unirtos_cli-1.0.0-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.0

验证 unirtos-cli 命令行工具

unirtos-cli version

Project details


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.0.tar.gz (23.7 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.0-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unirtos_cli-1.0.0.tar.gz
  • Upload date:
  • Size: 23.7 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.0.tar.gz
Algorithm Hash digest
SHA256 81134d82c6024b82061b98452eefcfa126eef749761b276b8b70f4cd0d6823f1
MD5 6a5bad97b32b077033d02f0f4538a8be
BLAKE2b-256 b0311cf7f5672dce941d3191fa69288f2be79ae79bf11b0a133e04ca89c5c584

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unirtos_cli-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 25.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1aeff38e864b967d7a1db569c97a736c6ef41a9824e709c7cc2f18fc9f7f7837
MD5 d9f69e214bc23756a837d0f0fdbb0b89
BLAKE2b-256 475424010e0753baf8d21d547db84b565d30b99b68a682130ae2a59404c26159

See more details on using hashes here.

Supported by

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