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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Carlos Ramos Carreño
slapos
Commits
cba81391
Commit
cba81391
authored
Aug 11, 2014
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scikit: simpler
parent
eed145ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
11 deletions
+14
-11
component/numpy/buildout.cfg
component/numpy/buildout.cfg
+12
-9
component/numpy/software.cfg
component/numpy/software.cfg
+2
-2
No files found.
component/numpy/buildout.cfg
View file @
cba81391
...
@@ -9,15 +9,14 @@ extends =
...
@@ -9,15 +9,14 @@ extends =
[scipy-repository.git]
[scipy-repository.git]
recipe = slapos.recipe.build:gitclone
recipe = slapos.recipe.build:gitclone
repository = https://github.com/mmariani/scipy.git
repository = https://github.com/scipy/scipy.git
# bumped version number to ensure we're using the freshly compiled egg
branch = maintenance/0.13.x
branch = 0.13.3001
git-executable = ${git:location}/bin/git
git-executable = ${git:location}/bin/git
[scikit-learn-repository.git]
[scikit-learn-repository.git]
recipe = slapos.recipe.build:gitclone
recipe = slapos.recipe.build:gitclone
repository = https://github.com/scikit-learn/scikit-learn.git
repository = https://github.com/scikit-learn/scikit-learn.git
branch =
master
branch =
0.15.X
git-executable = ${git:location}/bin/git
git-executable = ${git:location}/bin/git
...
@@ -38,12 +37,15 @@ install_cmd =
...
@@ -38,12 +37,15 @@ install_cmd =
export ATLAS=${libatlas:location}/lib/libsatlas.so
export ATLAS=${libatlas:location}/lib/libsatlas.so
export BLAS=${libblas:location}/libfblas.a
export BLAS=${libblas:location}/libfblas.a
export LAPACK=${libatlas:location}/lib/liblapack.a
export LAPACK=${libatlas:location}/lib/liblapack.a
export NUMPY_EGG=${buildout:eggs-directory}/numpy-${versions:numpy}-py2.7-linux-x86_64.egg
${buildout:directory}/bin/virtualenv ${:location}
${buildout:directory}/bin/virtualenv ${:location}
. ${:location}/bin/activate
. ${:location}/bin/activate
${:location}/bin/pip install numpy
# we need to install numpy to satisfy the dependency...
${:location}/bin/pip install Tempita
# ${:location}/bin/pip install numpy
# ...but we can reuse the numpy egg that has been built by buildout.
${:location}/bin/easy_install $NUMPY_EGG
# look for numpy in buildout eggs, not in the virtualenv
# look for numpy in buildout eggs, not in the virtualenv
export PYTHONPATH=$
{buildout:eggs-directory}/numpy-${versions:numpy}-py2.7-linux-x86_64.egg
export PYTHONPATH=$
NUMPY_EGG
cd ${scipy-repository.git:location}
cd ${scipy-repository.git:location}
python setupegg.py bdist_egg
python setupegg.py bdist_egg
cd ${scikit-learn-repository.git:location}
cd ${scikit-learn-repository.git:location}
...
@@ -71,11 +73,12 @@ eggs =
...
@@ -71,11 +73,12 @@ eggs =
numpy
numpy
scipy
scipy
scikit-learn
scikit-learn
simpy
interpreter = python-numpy
interpreter = python-numpy
[versions]
[versions]
numpy = 1.8.1
numpy = 1.8.1
scipy = 0.13.3
001
scipy = 0.13.3
scikit-learn = 0.1
6-git
scikit-learn = 0.1
5.1
component/numpy/software.cfg
View file @
cba81391
...
@@ -10,6 +10,6 @@ parts =
...
@@ -10,6 +10,6 @@ parts =
[versions]
[versions]
numpy = 1.8.1
numpy = 1.8.1
scipy = 0.13.3
001
scipy = 0.13.3
scikit-learn = 0.1
6-git
scikit-learn = 0.1
5.1
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