Commit eb39f421 authored by Rafael Monnerat's avatar Rafael Monnerat

wendelin: Install scikit learn from git instead use egg

parent 57d5bc89
[buildout]
extends =
../numpy/buildout.cfg
../cython/buildout.cfg
../numpy/openblas.cfg
../scipy/buildout.cfg
parts =
......@@ -20,3 +21,25 @@ rpath =
${gcc-fortran:location}/lib
${gcc-fortran:location}/lib64
${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 =
../../component/msgpack-python/buildout.cfg
../../component/scipy/buildout.cfg
../../software/erp5/software.cfg
extensions -=
buildout-versions
parts +=
wendelin
scipy
......@@ -13,6 +17,10 @@ parts +=
wendelin.core
ipython-notebook
[scikit-learn]
<= scikit-learn-develop
[eggs]
initialization =
import scipy.stats # load our own libstdc++ explicitly at the very beginning
......@@ -44,3 +52,6 @@ branch = master
[versions]
msgpack-python = 0.4.8
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