root/gs3-extensions/mars-src/trunk/README.txt @ 34362

Revision 34362, 0.9 KB (checked in by davidb, 6 weeks ago)

First rough cut at some notes

Line 
1To build an Essentia-processing based collectin
2
3  activate python3
4  source ./gs3-setup.bash
5  cd .../collect/amc-essentia
6  ./IMPORT.pl -maxdocs 2
7  ./BUILDCOL.pl
8  ./ACTIVATE.ps
9
10
11
12
13# Pick which version of Python you want to work with (v2 or v3)
14
15  source ./darwin/virtualenv-python2/bin/activate
16
17  source ./darwin/virtualenv-python3/bin/activate
18
19# To run essentia python tests need to have install sklearn
20
21 pip install sklearn
22
23# Then can run
24
25 cd packages/essentia-full-git
26 python ./waf run_python_tests
27
28
29# To build with Greenstone, need to teach virtualenv-python where Essensia was installed,
30# e.g.
31
32  export PYTHONPATH=$GEXT_MARS_INSTALLED/lib/python2.7/site-packages
33
34  export PYTHONPATH=$GEXT_MARS_INSTALLED/lib/python3.7/site-packages
35
36
37
38
39
40
41# On Macrocarpa, the follow compiles up with python2
42
43 cd src/essentia
44
45 ./waf configure --with-examples --with-python --prefix=/tmp/essentia
46 ./waf
47 ./waf install
Note: See TracBrowser for help on using the browser.