Commit 11828460 authored by francois's avatar francois

stack/erp5 Add ocropy and scipy in erp5 stack

This commit contain modifications that allow ocropy to be installed
in erp5. The addition of the extra-ld-path variable in the python
part is needed for python to use the right libstdc++ for scipy.
parent 18690853
...@@ -9,6 +9,7 @@ extends = ...@@ -9,6 +9,7 @@ extends =
../../component/dbus/buildout.cfg ../../component/dbus/buildout.cfg
../../component/file/buildout.cfg ../../component/file/buildout.cfg
../../component/fonts/buildout.cfg ../../component/fonts/buildout.cfg
../../component/gcc/buildout.cfg
../../component/ghostscript/buildout.cfg ../../component/ghostscript/buildout.cfg
../../component/git/buildout.cfg ../../component/git/buildout.cfg
../../component/graphviz/buildout.cfg ../../component/graphviz/buildout.cfg
...@@ -27,6 +28,7 @@ extends = ...@@ -27,6 +28,7 @@ extends =
../../component/matplotlib/buildout.cfg ../../component/matplotlib/buildout.cfg
../../component/mesa/buildout.cfg ../../component/mesa/buildout.cfg
../../component/numpy/buildout.cfg ../../component/numpy/buildout.cfg
../../component/ocropy/buildout.cfg
../../component/onlyoffice-x2t/buildout.cfg ../../component/onlyoffice-x2t/buildout.cfg
../../component/pandas/buildout.cfg ../../component/pandas/buildout.cfg
../../component/percona-toolkit/buildout.cfg ../../component/percona-toolkit/buildout.cfg
...@@ -90,6 +92,8 @@ parts += ...@@ -90,6 +92,8 @@ parts +=
libreoffice-bin libreoffice-bin
w3-validator w3-validator
tesseract tesseract
scipy
ocropy
hookbox hookbox
percona-toolkit percona-toolkit
zabbix-agent zabbix-agent
...@@ -136,6 +140,10 @@ parts += ...@@ -136,6 +140,10 @@ parts +=
ipython-notebook ipython-notebook
instance-jupyter instance-jupyter
# override python2.7 to add SlapOS libstdc++ in RPATH.
[python2.7]
extra-ldflags = -Wl,-rpath=${gcc:location}/lib -Wl,-rpath=${gcc:location}/lib64
# override instance-jupyter not to render into default template.cfg # override instance-jupyter not to render into default template.cfg
[instance-jupyter] [instance-jupyter]
rendered = ${buildout:directory}/template-jupyter.cfg rendered = ${buildout:directory}/template-jupyter.cfg
...@@ -442,6 +450,7 @@ eggs = ${neoppod:eggs} ...@@ -442,6 +450,7 @@ eggs = ${neoppod:eggs}
${python-ldap-python:egg} ${python-ldap-python:egg}
${pysvn-python:egg} ${pysvn-python:egg}
${pycrypto-python:egg} ${pycrypto-python:egg}
${scipy:egg}
${scikit-learn:egg} ${scikit-learn:egg}
lock_file lock_file
astor astor
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment