Alon Bar-Lev has uploaded a new change for review.
Change subject: build: use architecture independent location of site-packages if possible
......................................................................
build: use architecture independent location of site-packages if possible
Currently all vdsm python modules go into pyexecdir, which is the
architecture specific location.
Python architecture independent modules should go into pythondir.
In x86_64 system locations are:
pythondir = /usr/lib/python2.7/site-packages
pyexecdir = /usr/lib64/python2.7/site-packages
Both are in default search path of python:
---
print(sys.path)"
['', '/root', '/usr/lib64/python27.zip',
'/usr/lib64/python2.7',
'/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk',
'/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload',
'/usr/lib64/python2.7/site-packages',
'/usr/lib64/python2.7/site-packages/gst-0.10',
'/usr/lib64/python2.7/site-packages/gtk-2.0',
'/usr/lib/python2.7/site-packages',
'/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info']
---
In vdsm project only the betterPopen package is architecture specific,
it should go into pyexecdir while all other packages should go into
pythondir.
Change-Id: I975cab5c885697d3c43d083e243f8004587fd2bc
Signed-off-by: Alon Bar-Lev <alonbl(a)redhat.com>
---
M configure.ac
M vdsm/betterPopen/Makefile.am
2 files changed, 3 insertions(+), 2 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/98/6098/1
--
To view, visit
http://gerrit.ovirt.org/6098
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I975cab5c885697d3c43d083e243f8004587fd2bc
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl(a)redhat.com>