Mercurial > repos > ximgchess > chap_test_20230411
view pip_install.sh @ 66:3b1dbe3fb91b draft
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
author | ximgchess |
---|---|
date | Mon, 24 Apr 2023 16:39:59 +0000 |
parents | |
children | c1aed65c1d24 |
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