summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorM S Vishwanath Bhat <msvbhat@gmail.com>2016-04-29 20:38:23 +0530
committerM S Vishwanath Bhat <vbhat@redhat.com>2016-05-06 01:44:43 -0700
commit9de751eddb89eec3715c1a5dbb36b8b655d3f3a8 (patch)
tree5a1593a7bc7168112987e95b0d20837faac89c70
parentf71e2fa49af185779b9f43e146effd122d4e9da0 (diff)
Adding io_libs to the distaflibs namespace packages
Following the gluster_libs, which was added to distaflibs namespace package, this patch also adds io_libs to the same namespace package. Change-Id: Ife62f2dd0c966579546426a9dbc1a71d8c154292 BUG: 1331423 Signed-off-by: M S Vishwanath Bhat <msvbhat@gmail.com> Reviewed-on: http://review.gluster.org/14119 Smoke: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Jonathan Holloway <jholloway@redhat.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
-rw-r--r--tests/distaf/distaf_libs/distaflibs-io/distaflibs/__init__.py1
-rw-r--r--tests/distaf/distaf_libs/distaflibs-io/distaflibs/io/__init__.py0
-rw-r--r--tests/distaf/distaf_libs/distaflibs-io/distaflibs/io/file_ops.py (renamed from tests/distaf/distaf_libs/io_libs/file_ops.py)0
-rw-r--r--tests/distaf/distaf_libs/distaflibs-io/setup.py47
4 files changed, 48 insertions, 0 deletions
diff --git a/tests/distaf/distaf_libs/distaflibs-io/distaflibs/__init__.py b/tests/distaf/distaf_libs/distaflibs-io/distaflibs/__init__.py
new file mode 100644
index 00000000000..de40ea7ca05
--- /dev/null
+++ b/tests/distaf/distaf_libs/distaflibs-io/distaflibs/__init__.py
@@ -0,0 +1 @@
+__import__('pkg_resources').declare_namespace(__name__)
diff --git a/tests/distaf/distaf_libs/distaflibs-io/distaflibs/io/__init__.py b/tests/distaf/distaf_libs/distaflibs-io/distaflibs/io/__init__.py
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/tests/distaf/distaf_libs/distaflibs-io/distaflibs/io/__init__.py
diff --git a/tests/distaf/distaf_libs/io_libs/file_ops.py b/tests/distaf/distaf_libs/distaflibs-io/distaflibs/io/file_ops.py
index e5c17432c44..e5c17432c44 100644
--- a/tests/distaf/distaf_libs/io_libs/file_ops.py
+++ b/tests/distaf/distaf_libs/distaflibs-io/distaflibs/io/file_ops.py
diff --git a/tests/distaf/distaf_libs/distaflibs-io/setup.py b/tests/distaf/distaf_libs/distaflibs-io/setup.py
new file mode 100644
index 00000000000..3f74ccd7fbb
--- /dev/null
+++ b/tests/distaf/distaf_libs/distaflibs-io/setup.py
@@ -0,0 +1,47 @@
+#!/usr/bin/python
+# Copyright (c) 2015 Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+
+from setuptools import setup, find_packages
+
+version = '0.1.0'
+name = 'distaflibs-io'
+
+setup(
+ name=name,
+ version=version,
+ description='DiSTAF Gluster Library',
+ license='GPLv2+',
+ author='Red Hat, Inc.',
+ author_email='gluster-devel@gluster.org',
+ url='http://www.gluster.org',
+ packages=find_packages(),
+ classifiers=[
+ 'Development Status :: 4 - Beta'
+ 'Environment :: Console'
+ 'Intended Audience :: Developers'
+ 'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)'
+ 'Operating System :: POSIX :: Linux'
+ 'Programming Language :: Python'
+ 'Programming Language :: Python :: 2'
+ 'Programming Language :: Python :: 2.6'
+ 'Programming Language :: Python :: 2.7'
+ 'Topic :: Software Development :: Testing'
+ ],
+ install_requires=['distaf'],
+ namespace_packages = ['distaflibs']
+)