Mercurial > repos > ximgchess > chap_test_20230411
view pip_install.sh @ 83:9b6e931e0de0 draft
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 64d735e72badb6466fcf32843328300887a4a46e-dirty
author | ximgchess |
---|---|
date | Tue, 02 May 2023 15:07:28 +0000 |
parents | 54d0adb79293 |
children |
line wrap: on
line source
#!/bin/bash if [[ $# -ne 1 ]]; then echo "$0 requires the package as its only command line argument" exit fi 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 "Try installing $1 to $PIPLOC" pip install --target $PIPLOC $1 --upgrade