Skip to content

Commit

Permalink
Workaround for pypa/pip#3165
Browse files Browse the repository at this point in the history
  • Loading branch information
kislyuk committed Apr 5, 2018
1 parent cad3258 commit 6540fd5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions site/datasets/census/hca-download-census
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ function initialize() {
function install_hca_tool() {
echo "Installing hca tool (see ${LOGFILE} for errors)..."

if ! pip install --upgrade hca >> ${LOGFILE} 2>&1 ; then
if ! pip install hca --upgrade --ignore-installed six >> ${LOGFILE} 2>&1 ; then
echo -e "\n\nThat failed, trying again as superuser. You may be prompted for your password..."
sudo pip install --upgrade hca 2>&1 >> ${LOGFILE}
sudo pip install hca --upgrade --ignore-installed six 2>&1 >> ${LOGFILE}
fi

HCA=hca
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ function initialize() {
function install_hca_tool() {
echo "Installing hca tool (see ${LOGFILE} for errors)..."

if ! pip install --upgrade hca >> ${LOGFILE} 2>&1 ; then
if ! pip install hca --upgrade --ignore-installed six >> ${LOGFILE} 2>&1 ; then
echo -e "\n\nThat failed, trying again as superuser. You may be prompted for your password..."
sudo pip install --upgrade hca 2>&1 >> ${LOGFILE}
sudo pip install hca --upgrade --ignore-installed six 2>&1 >> ${LOGFILE}
fi

HCA=hca
Expand Down
4 changes: 2 additions & 2 deletions site/datasets/melanoma/hca-download-melanoma
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ function initialize() {
function install_hca_tool() {
echo "Installing hca tool (see ${LOGFILE} for errors)..."

if ! pip install --upgrade hca >> ${LOGFILE} 2>&1 ; then
if ! pip install hca --upgrade --ignore-installed six >> ${LOGFILE} 2>&1 ; then
echo -e "\n\nThat failed, trying again as superuser. You may be prompted for your password..."
sudo pip install --upgrade hca 2>&1 >> ${LOGFILE}
sudo pip install hca --upgrade --ignore-installed six 2>&1 >> ${LOGFILE}
fi

HCA=hca
Expand Down

0 comments on commit 6540fd5

Please sign in to comment.