summaryrefslogtreecommitdiffstats
path: root/gluster/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Share gluster package namespacePrashanth Pai2016-08-101-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: If both gluster-swift and libgfapi-python are installed on the same system, only one could be imported at a time. >>> from gluster import swift >>> from gluster import gfapi Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: cannot import name gfapi Fix: Allow sharing of 'gluster' namespace among Python packages that use them. This was discussed and implemented for libgfapi-python project (http://review.gluster.org/#/c/9668/) but hadn't been done so far for other Python projects that use 'gluster' namespace. This change does it for gluster-swift. Refer: https://docs.python.org/2.7/library/pkgutil.html#pkgutil.extend_path https://stackoverflow.com/questions/1675734 Change-Id: Ic6de294325a065d606604179a7ab84721dd401e0 Signed-off-by: Prashanth Pai <ppai@redhat.com> Reviewed-on: http://review.gluster.org/14855 Reviewed-by: Niels de Vos <ndevos@redhat.com> Reviewed-by: Thiago da Silva <thiago@redhat.com> Tested-by: Thiago da Silva <thiago@redhat.com>
* Remove "ufo" directory, promoting contents to top-levelPeter Portante2013-05-101-0/+0
Additionally, we drop the "ufo" references from setup.py, spec file and README, and add the HISTORY file describing how the repo was initially created. We also update the RPM spec file to use the name "gluster-for-swift" to avoid colliding with existing RPM names from RHS 2.0 (the spec file's description was also updated, along with the version number). Change-Id: If804224a94208d57896e4189c63736ffc9e01d5e Signed-off-by: Peter Portante <peter.portante@redhat.com> Reviewed-on: http://review.gluster.org/4966 Reviewed-by: Luis Pabon <lpabon@redhat.com> Reviewed-by: Mohammed Junaid <junaid@redhat.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-by: Peter Portante <pportant@redhat.com> Tested-by: Peter Portante <pportant@redhat.com>