diff tomo/pip_install.sh @ 54:70992f91d75f draft

planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit eda217fb0afe5af50380a24b578c668db9c004f4-dirty
author ximgchess
date Wed, 12 Apr 2023 18:42:57 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tomo/pip_install.sh	Wed Apr 12 18:42:57 2023 +0000
@@ -0,0 +1,8 @@
+#!/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
+
+pip --exists-action i install --target $PIPLOC $1