- https://wiki.python.org/moin/TestPyPI
- https://testpypi.python.org/pypi
- https://pypi.python.org/pypi
- https://pypi.python.org/pypi/pypiserver#client-side-configurations
打包并上传到仓库配置,~/.pypirc
[distutils]
index-servers =
pypi
local
[pypi]
username: itviewer
password: 1987
[local]
repository: https://testpypi.python.org/pypi
username: itviewer
password: 1987
python setup.py sdist register -r local upload -r local
从私有仓库下载pip\pip.ini(windows),.pip/pip.conf(Linux)
[global]
extra-index-url = https://testpypi.python.org/pypi
no-cache-dir = false
私有仓库搭建
https://pypi.python.org/pypi/pypiserver