mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-30 06:28:42 +08:00
7bc1e99ad8
Revert e99ab2e9d07573e24e6d106877ff35eab46cdab1, which was intended to strip comments from lines fed to pip, but had the unintended side effect of stripping egg specifiers in URLs. The easiest way to address this is to simply not put trailing comments in requirements files, so we'er going to solve the problem that way instead.
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";
|