summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glustolibs-gluster/glustolibs/__init__.py1
-rw-r--r--glustolibs-gluster/glustolibs/gluster/__init__.py0
-rw-r--r--glustolibs-gluster/setup.py48
-rw-r--r--glustolibs-io/glustolibs/__init__.py1
-rw-r--r--glustolibs-io/glustolibs/io/__init__.py0
-rw-r--r--glustolibs-io/setup.py54
-rw-r--r--tests/README.txt1
7 files changed, 105 insertions, 0 deletions
diff --git a/glustolibs-gluster/glustolibs/__init__.py b/glustolibs-gluster/glustolibs/__init__.py
new file mode 100644
index 000000000..de40ea7ca
--- /dev/null
+++ b/glustolibs-gluster/glustolibs/__init__.py
@@ -0,0 +1 @@
+__import__('pkg_resources').declare_namespace(__name__)
diff --git a/glustolibs-gluster/glustolibs/gluster/__init__.py b/glustolibs-gluster/glustolibs/gluster/__init__.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/glustolibs-gluster/glustolibs/gluster/__init__.py
diff --git a/glustolibs-gluster/setup.py b/glustolibs-gluster/setup.py
new file mode 100644
index 000000000..91fb09a30
--- /dev/null
+++ b/glustolibs-gluster/setup.py
@@ -0,0 +1,48 @@
+#!/usr/bin/python
+# Copyright (c) 2016 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.1'
+name = 'glustolibs-gluster'
+
+setup(
+ name=name,
+ version=version,
+ description='Glusto - Red Hat Gluster Libraries',
+ 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=['glusto'],
+ dependency_links=['http://github.com/loadtheaccumulator/glusto/tarball/master#egg=glusto'],
+ namespace_packages = ['glustolibs']
+)
diff --git a/glustolibs-io/glustolibs/__init__.py b/glustolibs-io/glustolibs/__init__.py
new file mode 100644
index 000000000..de40ea7ca
--- /dev/null
+++ b/glustolibs-io/glustolibs/__init__.py
@@ -0,0 +1 @@
+__import__('pkg_resources').declare_namespace(__name__)
diff --git a/glustolibs-io/glustolibs/io/__init__.py b/glustolibs-io/glustolibs/io/__init__.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/glustolibs-io/glustolibs/io/__init__.py
diff --git a/glustolibs-io/setup.py b/glustolibs-io/setup.py
new file mode 100644
index 000000000..183cc23b5
--- /dev/null
+++ b/glustolibs-io/setup.py
@@ -0,0 +1,54 @@
+#!/usr/bin/python
+# Copyright (c) 2016 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.
+#
+import os
+from setuptools import setup, find_packages
+
+version = '0.1.1'
+name = 'glustolibs-io'
+
+sharedfiles = []
+for root, dir, files in os.walk('shared_files'):
+ for file in files:
+ sharedfiles.append(os.path.join(root, file))
+
+setup(
+ name=name,
+ version=version,
+ description='Glusto - Red Hat I/O Libraries',
+ 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=['glusto'],
+ dependency_links=['http://github.com/loadtheaccumulator/glusto/tarball/master#egg=glusto'],
+ namespace_packages = ['glustolibs'],
+ data_files=[('/usr/share/glustolibs/io', sharedfiles)]
+)
diff --git a/tests/README.txt b/tests/README.txt
new file mode 100644
index 000000000..9f8dc8073
--- /dev/null
+++ b/tests/README.txt
@@ -0,0 +1 @@
+Place test directories and files here \ No newline at end of file