Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Make pip install functions take any pip args.

  • Loading branch information
wsanchez committed Apr 10, 2014
1 parent 447da33 commit 47d99304615e0b4d7a9c14d5d9001ac68e5da320
Showing with 6 additions and 10 deletions.
  1. +6 −10 bin/_build.sh
@@ -645,24 +645,20 @@ py_dependencies () {


pip_install_from_cache () {
local require="$1"; shift;

"${python}" -m pip install \
"${require}" \
--find-links="${wd}/requirements/cache" \
--find-links="${dev_home}/pip_downloads" \
--no-index \
--log="${dev_home}/pip.log";
--log="${dev_home}/pip.log" \
"$@";
}


pip_download_and_install () {
local require="$1"; shift;

"${python}" -m pip install \
"${require}" \
--pre \
--pre --upgrade \
--download-cache="${dev_home}/pip_cache" \
--log="${dev_home}/pip.log";
--log="${dev_home}/pip.log" \
"$@";
}


0 comments on commit 47d9930

Please sign in to comment.
You can’t perform that action at this time.