software.cfg 1.32 KB
Newer Older
1 2 3 4 5 6 7
[buildout]

extends = 
  ../../stack/slapos.cfg
  ../../component/git/buildout.cfg
  ../../component/gcc/buildout.cfg
  ../../component/libatlas/buildout.cfg
Marco Mariani's avatar
Marco Mariani committed
8
  ../../component/libblas/buildout.cfg
9 10 11 12 13 14

parts =
  python2.7-virtualenv
  eggs
  gcc-fortran
  libatlas
Marco Mariani's avatar
Marco Mariani committed
15 16 17
  libblas

#  scikit-env
18 19 20 21 22 23 24 25 26 27 28 29 30

# XXX ideally, libatlas should use this version
#[gcc-download]
#url = http://www.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.7.0/gcc-4.7.0.tar.bz2
#md5sum = 2a0f1d99fda235c29d40b561f81d9a77

[eggs]
recipe = zc.recipe.egg
eggs =
  ${lxml-python:egg}
  slapos.cookbook
  collective.recipe.template

31

Marco Mariani's avatar
Marco Mariani committed
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
[scikit-env]
recipe = cp.recipe.cmd
location = ${buildout:parts-directory}/${:_buildout_section_name_}
install_cmd =
  mkdir -p ${:location}
  cd ${:location}
  unset PYTHONPATH
  ${python2.7-virtualenv:executable} ${:location}
  . ${:location}/bin/activate
  export ATLAS=${libatlas:location}/lib/libsatlas.so
  #pip install -U setuptools
  #pip install -U pip
  pip install numpy
  pip install simpy==2.3
  pip install scipy
  pip install scikit-learn
  pip install xlrd
  pip install xlwt
  pip install flask
  pip install pyparsing==1.5.7
  pip install pydot
  #export LDFLAGS="-lncurses"
  pip install rpy2
  git clone http://git.erp5.org/repos/dream.git -b marco
  cd dream
  python setup.py install


60 61
[versions]
cp.recipe.cmd = 0.5nxd001