Metadata-Version: 2.1
Name: wivw-demo
Version: 0.0.2
Summary: 我的工具
Home-page: https://github.com/wivw0306/wivw-demo-py
Author: freeflyday
Author-email: freeflyday@163.com
License: MIT License
Project-URL: Documentation, https://redis.readthedocs.io/en/latest/
Project-URL: Changes, https://github.com/redis/redis-py/releases
Project-URL: Code, https://github.com/redis/redis-py
Project-URL: Issue tracker, https://github.com/redis/redis-py/issues
Keywords: demo,demo store,database
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Provides-Extra: hiredis
Provides-Extra: ocsp

# 简介

我的工具





一.上传步骤:
1.生成 dist 目录用于上传
python setup.py sdist bdist_wheel

2.上传包到私有 pypi 源
cat ~/.pypirc
[distutils]
index-servers =
  pypi
  local

[pypi]
repository: https://www.python.org/pypi
username: 在pypi上的用户名
password: 在pypi上的密码

[local]
repository: http://localhost:8080
username: yehaiquan
password: 12345678

3.上传到 local 仓库
twine upload dist/* -r local

4.测试是否上传
访问 http://localhost:3141/simple/

5.安装
pip search -i http://localhost:3141 wivw_demo  #查找包
pip install -i http://localhost:3141/simple wivw_demo  #安装包
pip install -U -i http://localhost:3141/simple wivw_demo  #安装最新包

6.测试是否安装
import wivw_demo
from wivw_demo import mytool
wivw-demo.show()
mytool.mytest()

7.卸载包
pip uninstall  wivw-demo


二.上传到 pypi 仓库
1.登陆个人pypi后台(如没有账号需要先注册)
https://pypi.org/manage/projects/

2.
twine upload dist/* -r local

