Supper Cache Package
danerlt opened this issue · comments
I set up a local private pypi source, starting with the command pypi-server -v -p 8080 -a update --log-file /var/log/pypiserver.log -P /opt/pypi/auth/htpasswd.txt --fallback-url https://mirrors.aliyun.com/pypi/simple/ --overwrite /opt/pypi/packages
If I specify --fallback-url
as https://mirrors.aliyun.com/pypi/simple/
, I want to be able to automatically download from the fallback-url to the local /opt/pypi/packages
directory when I use the pip install command, Can add a --download
parameter to implement the caching feature?