创建私库
创建托管私库。
上传whl
测试下载jar包:
pip install -i http://192.168.10.4:8081/repository/ci/simple pymysql==0.9.3 --trusted-host 192.168.10.4
或者一劳永逸,写个配置文件:
[root@localhost .pip]# cat ~/.pip/pip.conf
[global]
index-url = http://192.168.124.32:8081/repository/test/simple
trusted-host = 192.168.124.32
pip和包的版本不相同会引起问题。