#!/bin/bash -e

a=0
while read line
do     
    if [[ -n "$line" && "$line" != \#* ]] ; then
        pip install --use-mirrors $line
    fi
    ((a = a + 1))
done < $1
echo "$0: Final package count is $a";

#!/bin/bash -e

a=0
while read line
do     
    if [[ -n "$line" && "$line" != \#* ]] ; then
        pip install $line
    fi
    ((a = a + 1))
done < $1
echo "$0: Final package count is $a";

Remove deprecated pip --use-mirrors flag.
BLD: Remove deprecated pip --use-mirrors flag.

With release 1.5 pip deprecated the --use-mirrors flag,
since that release the flag is a noop and raises a deprecation warning.
