pypi pack and upload

upload 403 error need to change the name in setup.py

upload 400 error need to change the version of the same name pkg

register: python setup.py register 

upload to test pypi: 

python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/* 

install: 

python -m pip install --index-url https://test.pypi.org/simple/ example-pkg

 example

python -m pip install --extra-index-url https://test.pypi.org/simple/ XXX  --no-cache-dir 
posted @ 2019-03-31 20:43  demianzhang  阅读(190)  评论(0编辑  收藏  举报