From f3908319c45b9078fcee35658a347e234793f9a8 Mon Sep 17 00:00:00 2001 From: Richard Frank Date: Tue, 15 Mar 2016 18:23:59 -0400 Subject: [PATCH] BLD: Have pip use cache subdir --- appveyor.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index adceb4a3..6cdb7e3d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -127,11 +127,12 @@ install: - cmd: conda create -n testenv --yes -q --use-local pip python=%PYTHON_VERSION% numpy=%NUMPY_VERSION% scipy=%SCIPY_VERSION% ta-lib=0.4.9 bcolz=0.12.1 numexpr=2.4.6 -c quantopian -c https://conda.anaconda.org/quantopian/label/ci - cmd: activate testenv - - cmd: pip install -r etc/requirements.txt - - cmd: pip install -r etc/requirements_dev.txt + - SET CACHE_DIR=%LOCALAPPDATA%\pip\Cache\pip_np%CONDA_NPY%py%CONDA_PY% + - cmd: pip install -r etc/requirements.txt --cache-dir=%CACHE_DIR% + - cmd: pip install -r etc/requirements_dev.txt --cache-dir=%CACHE_DIR% # this uses git requirements right now - - cmd: pip install -r etc/requirements_blaze.txt - - cmd: pip install -e .[talib] + - cmd: pip install -r etc/requirements_blaze.txt --cache-dir=%CACHE_DIR% + - cmd: pip install -e .[talib] --cache-dir=%CACHE_DIR% - cmd: pip freeze | sort test_script: