python 向pip提交包
详细教程参考: https://blog.csdn.net/lezardfu/article/details/44891559
提交命令:
shell
python3 setup.py sdist upload
python3 setup.py sdist upload
最后服务器响应:
shell
Submitting dist/django-simpleui-1.4.tar.gz to https://upload.pypi.org/legacy/
Server response (200): OK
Submitting dist/django-simpleui-1.4.tar.gz to https://upload.pypi.org/legacy/
Server response (200): OK
这时候就可以用pip 来安装你的包了。
::: tips 注意 注意,每次提交的版本号需要和上次的不一样才能提交上去,所以,每次提交版本号要+1 :::