source: gs3-extensions/mars-src/trunk/SETUP.sh@ 34371

Last change on this file since 34371 was 34371, checked in by davidb, 4 years ago

Top-level scripting and checks so CLI is ready to operate with the MARS extension to Greenstone3

File size: 649 bytes
Line 
1
2
3source ./gs3-setup.sh
4
5if [ ! -d "$GEXT_MARS_INSTALLED/virtualenv-python3/lib/python3.7/site-packages/sklearn" ] ; then
6 echo "!!!!" >&2
7 echo "! Failed to find directory: " >&2
8 echo "! $GEXT_MARS_INSTALLED/virtualenv-python3/lib/python3.7/site-packages/sklearn" ] >&2
9 echo "!!!!" >&2
10 echo "! You need to: " >&2
11 echo "! source \$GEXT_MARS/darwin/virtualenv-python3/bin/activate" >&2
12 echo "! Then: " >&2
13 echo "! pip install sklearn" >&2
14 echo "!!!!" >&2
15 exit 1
16fi
17
18echo ""
19echo "****"
20echo "* Activating Python v3 Virtual Env "
21echo "****"
22echo ""
23
24source ext/mars/darwin/virtualenv-python3/bin/activate
25
Note: See TracBrowser for help on using the repository browser.