Files
catalyst/etc/ordered_pip.sh
T
Richard Frank c101e82399 BLD: Pass args to ordered_pip through to pip
This way, we can specify an index-url, for example.
2015-06-22 14:54:44 -04:00

13 lines
263 B
Bash
Executable File

#!/bin/bash -e
a=0
while read line
do
if [[ -n "$line" && "$line" != \#* ]] ; then
# forward to pip any args after the reqs filename
pip install $line "${@:2}"
((a = a + 1))
fi
done < $1
echo "$0: Final package count is $a";