[Bugs] [Bug 1330346] New: distaflibs: structure directory tree to follow setuptools namespace packages format

bugzilla at redhat.com bugzilla at redhat.com
Tue Apr 26 00:20:45 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1330346

            Bug ID: 1330346
           Summary: distaflibs: structure directory tree to follow
                    setuptools namespace packages format
           Product: GlusterFS
           Version: 3.8.0
         Component: tests
          Assignee: bugs at gluster.org
          Reporter: jholloway at redhat.com
                CC: bugs at gluster.org



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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list