File tree Expand file tree Collapse file tree 3 files changed +34
-7
lines changed
Expand file tree Collapse file tree 3 files changed +34
-7
lines changed Original file line number Diff line number Diff line change @@ -102,3 +102,5 @@ venv.bak/
102102
103103# mypy
104104.mypy_cache /
105+
106+ .idea
Original file line number Diff line number Diff line change 1+ # coding: utf-8
12from setuptools import setup , find_packages
23
34setup (
4- name = 'tls-sig-api-v2' ,
5- version = '1.0' ,
6- packages = find_packages (),
7- author_email = 'weijunyi@tencent.com' ,
8- py_modules = [
5+ name = 'tls-sig-api-v2' ,
6+ version = '1.0' ,
7+ description = 'tls-sig-api-v2 适用于腾讯云通信生成用户账号签名。' ,
8+ long_description = "适用于新版 key,之前非对称密钥不适用,使用非对称密钥参考 https://github.com/tencentyun/tls-sig-api-python" ,
9+ author = 'weijunyi' ,
10+ author_email = 'weijunyi@tencent.com' ,
11+ license = 'MIT Licence' ,
12+ packages = find_packages (),
13+ py_modules = [
914 'TLSSigAPI'
1015 ],
11- url = 'https://github.com/tencentyun/tls-sig-api-v2-python' ,
12- license = 'MIT'
16+ install_requires = [],
17+ url = 'https://github.com/tencentyun/tls-sig-api-v2-python' ,
18+ platforms = "any"
1319 )
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ rm -rf dist
4+
5+ python setup.py sdist
6+
7+ # 需要确保 twine 已经安装,如果没有安装,安装命令如下
8+ # pip install twine
9+
10+ # 在 ~/ 目录下建立 .pypirc,内如如下
11+ # [distutils]
12+ # index-servers = pypi
13+ #
14+ # [pypi]
15+ # username:你的PyPi用户名
16+ # password:你的PyPi密码
17+
18+ twine upload dist/* .tar.gz
19+
You can’t perform that action at this time.
0 commit comments