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


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.1.0.tar.gz (6.0 kB view hashes)

Uploaded Source

Supported by

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