Commit 2c41c656 authored by Aurel's avatar Aurel

it's working

parent 14ba6747
......@@ -10,6 +10,9 @@ parts +=
slapos-cookbook-develop
slapos-cookbook
parts -=
template-neo
[python]
part = python3
......@@ -22,7 +25,36 @@ parts -=
rdiff-backup
ocropy
hookbox
scipy
numpy
scikit-learn
scikit-image
PyWavelets
jupyter-notebook-initialized-scripts
jupyter
matplotlibrc
pandas
h5py
ipython
tesseract
tesseract-eng-traineddata
tesseract-osd-traineddata
neoppod
testrunner
test_suite_runner
[test_suite_runner]
recipe =
[testrunner]
recipe =
[neoppod]
recipe =
[h5py]
recipe =
[matplotlibrc]
recipe =
[jupyter]
recipe =
[rdiff-backup]
recipe =
[rdiff-backup-build]
......@@ -31,22 +63,22 @@ recipe =
recipe =
[hookbox]
recipe =
[numpy-egg-abspath]
# XXX: The only purpose of this section is to dynamically get the absolute path
# of the numpy egg. There's probably a better way.
recipe = slapos.recipe.build
init =
import glob, os
paths = glob.glob(os.path.join(self.buildout['buildout']['develop-eggs-directory'], 'numpy-*.egg'))
assert len(paths) == 1, paths
options['abspath'] = paths[0]
[scipy-env]
# See https://github.com/scipy/scipy/blob/b285d269decb8ed11079c9d4e450391eda26e9ad/scipy/special/setup.py#L158
# `sys.executable` is a "raw" python 3, and can't find numpy. We thus tell it
# where to find it, because it needs it.
PYTHONPATH=${numpy-egg-abspath:abspath}:$PYTHONPATH
[scipy]
recipe =
[scikit-learn]
recipe =
[PyWavelets]
recipe =
[scikit-image]
recipe =
[numpy]
recipe =
[openblas]
recipe =
[pandas]
recipe =
[ipython]
recipe =
[python-ldap-python]
# No patch needed anymore
......@@ -69,6 +101,45 @@ eggs -=
xupdate_processor
SOAPpy
fpconst
${scipy:egg}
${scikit-learn:egg}
${scikit-image:egg}
${numpy:egg}
${matplotlib:egg}
${pandas:egg}
h5py
${h5py:egg}
${statsmodels:egg}
astor
${ipython:egg}
# jupter base egg
jupyter
# explicit eggs to generate scripts from them
jupyter_client
jupyter_console
jupyter_core
nbconvert
nbformat
notebook
# additional eggs
requests
astor
${matplotlib:egg}
${scipy:egg}
${pandas:egg}
${scikit-learn:egg}
${seaborn:egg}
${statsmodels:egg}
patsy
${h5py:egg}
openpyxl
sympy
xlrd
# additional eggs for jupyterlab
jupyterlab
jupyterlab-launcher
pytesseract
${neoppod:eggs}
Acquisition-patches = ${:_profile_base_location_}/../../component/egg-patch/Acquisition/aq_dynamic-4.5.patch#e923ab436d53282df536de3ef7d3e127
......@@ -88,8 +159,9 @@ numpy = 1.16.6
pandas = 0.24.2
# XXX: No version of scipy is both compatible with Python 2.7 and 3.7
scipy = 1.5.2
scikit-learn = 0.20.4
#scikit-learn = 0.20.4
statsmodels = 0.10.2
pyzmq = 19.0.2
PyStemmer = 2.0.1
python-ldap = 3.1.0
ipython = 0.10.2
\ No newline at end of file
......@@ -54,8 +54,8 @@ extends =
../../component/pylint/buildout.cfg
../../component/perl-Image-ExifTool/buildout.cfg
../../stack/caucase/buildout.cfg
../../software/jupyter/software.cfg
../../software/neoppod/software-common.cfg
# ../../software/jupyter/software.cfg
../../software/neoppod/software-zodb5.cfg
# keep neoppod extends last
parts +=
......@@ -84,7 +84,7 @@ parts +=
template
# jupyter
jupyter-notebook-initialized-scripts
# jupyter-notebook-initialized-scripts
# override instance-jupyter-notebook not to render into default template.cfg
......@@ -255,7 +255,7 @@ link-binary =
${poppler:location}/bin/pdftohtml
${poppler:location}/bin/pdftotext
${sed:location}/bin/sed
${tesseract:location}/bin/tesseract
# ${tesseract:location}/bin/tesseract
${w3m:location}/bin/w3m
fonts =
${liberation-fonts:location}
......@@ -373,7 +373,7 @@ initialization =
<= neoppod
eggs = ${neoppod:eggs}
${caucase-eggs:eggs}
${numpy:egg}
# ${numpy:egg}
${matplotlib:egg}
${lxml-python:egg}
${ocropy:egg}
......@@ -382,9 +382,9 @@ eggs = ${neoppod:eggs}
${python-ldap-python:egg}
${pysvn-python:egg}
${pycrypto-python:egg}
${scipy:egg}
${scikit-learn:egg}
${scikit-image:egg}
# ${scipy:egg}
# ${scikit-learn:egg}
# ${scikit-image:egg}
sympy
more-itertools
${h5py:egg}
......@@ -497,7 +497,7 @@ eggs = ${neoppod:eggs}
facebook-sdk
# Used by ERP5 Jupyter backend
ipykernel
# ipykernel
# Used by DiffTool
xmltodict
......@@ -523,7 +523,7 @@ scripts =
runzeo
tidstoraged
tidstorage_repozo
web_checker_utility
# web_checker_utility
extra-paths =
${erp5:location}
......@@ -669,7 +669,7 @@ validictory = 1.1.0
xfw = 0.10
xupdate-processor = 0.4
selenium = 3.8.0
scikit-image = 0.14.0
#scikit-image = 0.14.0
PyWavelets = 0.5.2
networkx = 2.1
pytesseract = 0.2.2
......
......@@ -26,7 +26,7 @@ md5sum = d10b8e35b02b5391cf46bf0c7dbb1196
[template-mariadb]
filename = instance-mariadb.cfg.in
md5sum = 7fdf1a42b252f9dfdf3a05ebabf608f2
md5sum = f4e10df6253a76fcdb95458516ce9bdd
[template-kumofs]
filename = instance-kumofs.cfg.in
......@@ -70,7 +70,7 @@ md5sum = 6afc237458fcc0538dd7971c2e90aa96
[template]
filename = instance.cfg.in
md5sum = 87ac816fc7b5d0232e21e2cae2ac2840
md5sum = f183f4bae59f9ee7ad99a37439f82de8
[monitor-template-dummy]
filename = dummy.cfg
......@@ -86,7 +86,7 @@ md5sum = 862d3b5309aa4d80bfa48703fcffbed0
[template-zope]
filename = instance-zope.cfg.in
md5sum = 60ca6aa3e110487e4dcd43bf2a8d185b
md5sum = fa90afdf79d9b6e433042919115f39f3
[template-balancer]
filename = instance-balancer.cfg.in
......
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