mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-01 12:18:17 +08:00
c101e82399
This way, we can specify an index-url, for example.
13 lines
263 B
Bash
Executable File
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";
|