Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaohe Cao
slapos
Commits
58fc1890
Commit
58fc1890
authored
Apr 07, 2014
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dream: SR with buildout+virtualenv part
parent
bd9b7314
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
0 deletions
+62
-0
component/python-2.7/buildout.cfg
component/python-2.7/buildout.cfg
+14
-0
software/scikit/software.cfg
software/scikit/software.cfg
+48
-0
No files found.
component/python-2.7/buildout.cfg
View file @
58fc1890
...
...
@@ -57,3 +57,17 @@ environment =
PATH=${xz-utils:location}/bin:%(PATH)s
CPPFLAGS=-I${zlib:location}/include -I${readline:location}/include -I${libexpat:location}/include -I${libffi:location}/include -I${ncurses:location}/include -I${ncurses:location}/include/ncursesw -I${bzip2:location}/include -I${gdbm:location}/include -I${openssl:location}/include -I${sqlite3:location}/include -I${gettext:location}/include
LDFLAGS=-L${zlib:location}/lib -L${readline:location}/lib -L${libexpat:location}/lib -L${libffi:location}/lib -L${ncurses:location}/lib -L${bzip2:location}/lib -L${gdbm:location}/lib -L${openssl:location}/lib -L${sqlite3:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${readline:location}/lib -Wl,-rpath=${libexpat:location}/lib -Wl,-rpath=${libffi:location}/lib -Wl,-rpath=${ncurses:location}/lib -Wl,-rpath=${bzip2:location}/lib -Wl,-rpath=${gdbm:location}/lib -Wl,-rpath=${openssl:location}/lib -Wl,-rpath=${sqlite3:location}/lib -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -Wl,-rpath=${file:location}/lib
[python2.7-virtualenv]
recipe = collective.recipe.cmd
version = 1.11.4
location = ${buildout:parts-directory}/${:_buildout_section_name_}
executable = ${python2.7:prefix}/bin/virtualenv
cmds =
unset PYTHONPATH
wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | ${python2.7:executable}
${python2.7:prefix}/bin/easy_install virtualenv
on_install = true
on_update = false
software/scikit/software.cfg
0 → 100644
View file @
58fc1890
[buildout]
extends =
../../stack/slapos.cfg
../../component/git/buildout.cfg
# ../../component/libatlas/buildout.cfg
parts =
python2.7-virtualenv
eggs
scikit-env
[eggs]
recipe = zc.recipe.egg
eggs =
${lxml-python:egg}
slapos.cookbook
collective.recipe.template
[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=/usr/lib/atlas-base
#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
pip install rpy2
git clone http://git.erp5.org/repos/dream.git -b marco
cd dream
python setup.py install
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment