Structure distaflibs directory tree to follow the setuptools namespace packages format. Allows separate development environments to install into a single python namespace. e.g., tests/distaf/distaflibs-gluster/ <-- root dir for config files, doc, etc. tests/distaf/distaflibs-gluster/setup.py tests/distaf/distaflibs-gluster/distaflibs/__init__.py <-- namespace_package tests/distaf/distaflibs-gluster/distaflibs/gluster <-- actual package tests/distaf/distaflibs-gluster/distaflibs/gluster/__init__.py tests/distaf/distaflibs-gluster/distaflibs/gluster/brick_ops.py ... tests/distaf/distaflibs_gluster/distaflibs/gluster/volume_ops.py The above would install to /usr/lib/python2.x/site-packages/distaflibs/gluster with import via "from distaflibs.gluster import volume_ops", etc.
REVIEW: http://review.gluster.org/13972 (distaflibs: organize distaflibs to use namespace packages) posted (#2) for review on master by Jonathan Holloway (jholloway)
COMMIT: http://review.gluster.org/13972 committed in master by M S Vishwanath Bhat (vbhat) ------ commit 41fef03eb929a08588a4f4ebf4638096a5918a62 Author: Jonathan Holloway <jholloway> Date: Mon Apr 11 20:32:26 2016 -0500 distaflibs: organize distaflibs to use namespace packages Organized the distaflibs directory tree to accomodate namespace packages. * Allows multiple distaf library packages to install in single namespace package. - Created distaflibs-gluster directory as root for package configs, docs, etc. - Created setup.py file to install distaflibs-gluster package into namespace. - Created distaflibs-gluster/distaflibs namespace package dir and init. - Created distaflibs-gluster/distaflibs/gluster as package dir. - Copied distaf gluster library files into package dir. Requires the distaf package. distaflibs-gluster installs into /usr/lib/python2.7/site-packages/distaflibs/gluster Change-Id: I775c4f1526880ea606f35c3616abb9aaf2f3b886 BUG: 1330346 Signed-off-by: Jonathan Holloway <jholloway> Reviewed-on: http://review.gluster.org/13972 Smoke: Gluster Build System <jenkins.com> Reviewed-by: M S Vishwanath Bhat <vbhat> CentOS-regression: Gluster Build System <jenkins.com> NetBSD-regression: NetBSD Build System <jenkins.org>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report. glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/ [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user