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

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

Better placement and document of what to do with this file

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