Commit eb39f421 authored by Rafael Monnerat's avatar Rafael Monnerat

wendelin: Install scikit learn from git instead use egg

parent 57d5bc89
[buildout] [buildout]
extends = extends =
../numpy/buildout.cfg ../cython/buildout.cfg
../numpy/openblas.cfg
../scipy/buildout.cfg ../scipy/buildout.cfg
parts = parts =
...@@ -20,3 +21,25 @@ rpath = ...@@ -20,3 +21,25 @@ rpath =
${gcc-fortran:location}/lib ${gcc-fortran:location}/lib
${gcc-fortran:location}/lib64 ${gcc-fortran:location}/lib64
${openblas:location}/lib ${openblas:location}/lib
[scikit-learn-repository]
recipe = slapos.recipe.build:gitclone
git-executable = ${git:location}/bin/git
repository = https://github.com/scikit-learn/scikit-learn.git
location = ${buildout:parts-directory}/scikit-learn
[scikit-learn-develop]
# This only work if we use zc.recipe.egg from zc.buildout 2 patched
# by nexedi (zc.recipe.egg = 2.0.3+slapos001 and zc.buildout = 2.5.2+slapos003)
recipe = zc.recipe.egg:develop
egg = scikit-learn
setup = ${scikit-learn-repository:location}
environment = scikit-learn-env
setup-eggs =
${cython:egg}
${numpy:egg}
${scipy:egg}
rpath =
${gcc-fortran:location}/lib
${gcc-fortran:location}/lib64
${openblas:location}/lib
...@@ -5,6 +5,10 @@ extends = ...@@ -5,6 +5,10 @@ extends =
../../component/msgpack-python/buildout.cfg ../../component/msgpack-python/buildout.cfg
../../component/scipy/buildout.cfg ../../component/scipy/buildout.cfg
../../software/erp5/software.cfg ../../software/erp5/software.cfg
extensions -=
buildout-versions
parts += parts +=
wendelin wendelin
scipy scipy
...@@ -13,6 +17,10 @@ parts += ...@@ -13,6 +17,10 @@ parts +=
wendelin.core wendelin.core
ipython-notebook ipython-notebook
[scikit-learn]
<= scikit-learn-develop
[eggs] [eggs]
initialization = initialization =
import scipy.stats # load our own libstdc++ explicitly at the very beginning import scipy.stats # load our own libstdc++ explicitly at the very beginning
...@@ -44,3 +52,6 @@ branch = master ...@@ -44,3 +52,6 @@ branch = master
[versions] [versions]
msgpack-python = 0.4.8 msgpack-python = 0.4.8
wendelin.core = 0.7 wendelin.core = 0.7
scikit-learn =
zc.buildout = 2.5.2+slapos002
zc.recipe.egg = 2.0.3+slapos001
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