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.5.tar.gz
(7.6 kB
view details)
File details
Details for the file py-cli-1.2.5.tar.gz
.
File metadata
- Download URL: py-cli-1.2.5.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 869ef42ecd705d71868d33b8c2bafd792cb824c8c6badae51c89d27c467c9a1c |
|
MD5 | 85589306f6aaaf5fe574a820ebea81a4 |
|
BLAKE2b-256 | 3712cc192768a2067e27f54f672cb7a6aab0de70d8ce3345014acfb357d44977 |