mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-28 16:12:05 +08:00
99ecffdb42
With release 1.5 pip deprecated the --use-mirrors flag, since that release the flag is a noop and raises a deprecation warning.
12 lines
192 B
Bash
Executable File
12 lines
192 B
Bash
Executable File
#!/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";
|