Nexus Python Repository

创建私库

Nexus Python Repository_第1张图片
创建托管私库。

上传whl

Nexus Python Repository_第2张图片
Nexus Python Repository_第3张图片
测试下载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和包的版本不相同会引起问题。

你可能感兴趣的:(构建工具)