Files
catalyst/etc/ordered_pip.sh
T
Jonathan Kamens 7bc1e99ad8 Don't strip #.* from ends of lines
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.
2012-10-15 11:36:45 -04:00

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";