Get use-pip-manifest to ignore '-e' dev versions

This patch gets use-pip-manifest to also ignore pip entries
introduced with the -e specifier, as they are editable
development versions, rather than versioned packages.

Change-Id: I581eebb3db5595d9b0e6154f9f78e19ccf0bca6b
This commit is contained in:
Coleman Corrigan 2014-04-14 12:26:59 +01:00
parent a7f5fff3b5
commit d317d1878b
1 changed files with 2 additions and 0 deletions

View File

@ -21,5 +21,7 @@ manifest=${1:?"Usage: ${0} <manifest>"}
# Comment out the dev versions listed, as they may not be reinstallable
sed -i "s/^\(.*[.]dev.*\)$/# \1/g" $manifest
# also dev versions listed via the -e (editable) option
sed -i "s/^\(-e .*\)$/# \1/g" $manifest
pip install --no-deps -r $manifest