mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
when running pip install tests, cache downloads from pypi
Since this runs frequently without much change, it makes sense to cache the downloaded source packages as much as possible. There are probably better ways to do this, but this is really easy. https://stackoverflow.com/questions/4806448/how-do-i-install-from-a-local-cache-with-pip
This commit is contained in:
parent
82e88fbcf6
commit
6f6c074a6b
1 changed files with 8 additions and 0 deletions
|
|
@ -25,6 +25,14 @@ if [ -z $ANDROID_HOME ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------#
|
||||||
|
# cache pypi downloads
|
||||||
|
if [ -z $PIP_DOWNLOAD_CACHE ]; then
|
||||||
|
export PIP_DOWNLOAD_CACHE=$HOME/.pip_download_cache
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------#
|
#------------------------------------------------------------------------------#
|
||||||
# required Java 7 keytool/jarsigner for :file support
|
# required Java 7 keytool/jarsigner for :file support
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue