Mercurial > repos > ximgchess > chap_test_20230411
view pip_install.sh @ 57:2a0a1c96b158 draft
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit eda217fb0afe5af50380a24b578c668db9c004f4-dirty
author | ximgchess |
---|---|
date | Wed, 12 Apr 2023 18:53:33 +0000 |
parents | 2abfae6df4f8 |
children |
line wrap: on
line source
#!/bin/bash VERSION=`python --version | awk '{split($2,a,"."); printf "%s.%s", a[1], a[2]}'` PIPLOC=`which python | sed 's/bin\/python//g'` PIPLOC=$PIPLOC/lib/python$VERSION/site-packages echo $PIPLOC echo 'Try installing $1 to $PIPLOC' #pip --exists-action i install --target $PIPLOC $1 pip install --target $PIPLOC $1