comparison pip_install.sh @ 56:2abfae6df4f8 draft

planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit eda217fb0afe5af50380a24b578c668db9c004f4-dirty
author ximgchess
date Wed, 12 Apr 2023 18:53:06 +0000
parents
children 2a0a1c96b158
comparison
equal deleted inserted replaced
55:55740619de5e 56:2abfae6df4f8
1 #!/bin/bash
2
3 VERSION=`python --version | awk '{split($2,a,"."); printf "%s.%s", a[1], a[2]}'`
4 PIPLOC=`which python | sed 's/bin\/python//g'`
5 PIPLOC=$PIPLOC/lib/python$VERSION/site-packages
6 echo $PIPLOC
7
8 echo 'Try installing $1 to $PIPLOC'
9 pip --exists-action i install --target $PIPLOC $1