Skip to content

laincloud/lain-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LAIN CLI

Build Status codecov MIT license

CLI 是用户使用 LAIN 平台的入口工具。用户对自己应用的部署,升级,查看等操作都要通过 CLI。

CLI 相关命令文档可以在 LAIN White Paper 中查看。

安装

pip install lain-cli

打包上传到 PyPI

依赖

pip install twine  # 上传工具
pip install wheel  # 打包工具

配置

请编写 $HOME/.pypirc 文件,配置用户名和密码:

[pypi]
username = xxx
password = xxx

打包上传

rm -rf dist/  # 清空以前的构建
python setup.py sdist  # 打包源代码
python setup.py bdist_wheel  # 构建 wheel
twine upload dist/*  # 上传