mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-14 19:10:11 +01: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
@ -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…
Reference in New Issue
Block a user