Commit 36033d8e authored by francois's avatar francois

stack/erp5 Add ocropy in erp5 stack

This commit contain modifications that allow ocropy and scipy to be
installed as eggs. Extra ld_path are added to python to allow the former
to run scipy (that needs libstdc++) inside testnodes.
parent 2325d4c4
...@@ -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
...@@ -437,11 +445,13 @@ eggs = ${neoppod:eggs} ...@@ -437,11 +445,13 @@ eggs = ${neoppod:eggs}
${numpy:egg} ${numpy:egg}
${matplotlib:egg} ${matplotlib:egg}
${lxml-python:egg} ${lxml-python:egg}
${ocropy:egg}
${pandas:egg} ${pandas:egg}
${pillow-python:egg} ${pillow-python:egg}
${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