Skip to main content

gitrunner 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

  1. Pypi上注册账号,并创建API tokens,复制证书到~/.pypirc
[pypi]
  username = __token__
  password = pypi-xxxxxx
  1. 设置权限
chmod 600 ~/.pypirc

三、发布SDK

python setup.py sdist
twine upload dist/*

四、应用

# 安装SDK
pip install py-cli

# 运行测试用例
pytest -s

Project details


Release history Release notifications

This version

1.1.0

Download files

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

Files for py-cli, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size py-cli-1.1.0.tar.gz (6.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page