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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
slapos
Commits
73fe28f6
Commit
73fe28f6
authored
May 04, 2015
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix RPATH for rpy2 and scipy.
parent
2cacb77a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
component/rpy2/buildout.cfg
component/rpy2/buildout.cfg
+5
-1
component/scipy/buildout.cfg
component/scipy/buildout.cfg
+1
-0
No files found.
component/rpy2/buildout.cfg
View file @
73fe28f6
[buildout]
[buildout]
extends =
extends =
../gcc/buildout.cfg
../r-language/buildout.cfg
../r-language/buildout.cfg
# rpy2 needs R in $PATH
# rpy2 needs R in $PATH
...
@@ -7,7 +8,7 @@ extends =
...
@@ -7,7 +8,7 @@ extends =
# see ../manpy/buildout.cfg as an example
# see ../manpy/buildout.cfg as an example
[rpy2_env]
[rpy2_env]
PATH = ${r-language:location}/bin/:%(PATH)s
PATH = ${
gcc-fortran:location}/bin:${
r-language:location}/bin/:%(PATH)s
CFLAGS = -I${readline:location}/include
CFLAGS = -I${readline:location}/include
LDFLAGS = -L${readline:location}/lib -Wl,-rpath=${readline:location}/lib -L${r-language:location}/lib/R/lib -Wl,-rpath=${r-language:location}/lib/R/lib
LDFLAGS = -L${readline:location}/lib -Wl,-rpath=${readline:location}/lib -L${r-language:location}/lib/R/lib -Wl,-rpath=${r-language:location}/lib/R/lib
...
@@ -19,3 +20,6 @@ initialization =
...
@@ -19,3 +20,6 @@ initialization =
# rpy2 needs R in $PATH
# rpy2 needs R in $PATH
import os
import os
os.environ['PATH'] = '${r-language:location}/bin' + os.pathsep + os.environ.get('PATH', '')
os.environ['PATH'] = '${r-language:location}/bin' + os.pathsep + os.environ.get('PATH', '')
rpath =
${gcc-fortran:location}/lib
${gcc-fortran:location}/lib64
component/scipy/buildout.cfg
View file @
73fe28f6
...
@@ -13,3 +13,4 @@ recipe = zc.recipe.egg:custom
...
@@ -13,3 +13,4 @@ recipe = zc.recipe.egg:custom
egg = scipy
egg = scipy
environment = scipy-env
environment = scipy-env
setup-eggs = ${numpy:egg}
setup-eggs = ${numpy:egg}
rpath = ${numpy:rpath}
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