git-runner cli script
Project description
android自动构建python脚本
零、配置
from setuptools import setup
setup(
author='handy',
author_email='cvdnn@foxmail.com',
url='https://github.com',
license='Apache v2.0',
description='python lang units',
name='py-cli',
version='1.0',
packages=['xcli'],
install_requires=['androguard', 'oss2', 'requests']
)
一、准备环境
pip install twine pytest
二、PyPi
- 在Pypi上注册账号,并创建
API tokens
,复制证书到~/.pypirc
[pypi]
username = __token__
password = pypi-xxxxxx
- 设置权限
chmod 600 ~/.pypirc
三、发布SDK
python setup.py sdist
twine upload dist/*
四、应用
# 安装SDK
pip install py-cli
# 运行测试用例
pytest -s
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py-cli-1.2.1.tar.gz
(7.4 kB
view hashes)