diff options
author | Jonathan Holloway <jholloway@redhat.com> | 2016-09-28 00:36:17 -0500 |
---|---|---|
committer | Jonathan Holloway <jholloway@redhat.com> | 2016-09-29 14:58:20 -0500 |
commit | 87165aef6ba5907b4f0ad14830b59b2afc7bba0b (patch) | |
tree | 5f556d3ce95b37c25b38b2a1cc5e300293079e4b /glustolibs-io | |
parent | fd849e0ed2510b2d3bff7912dbf5f94c6f42eb41 (diff) |
glustolibs: add initial tree
Change-Id: I08900d87fcd9a11b4f157d235facb766905d5ae2
Signed-off-by: Jonathan Holloway <jholloway@redhat.com>
Diffstat (limited to 'glustolibs-io')
-rw-r--r-- | glustolibs-io/glustolibs/__init__.py | 1 | ||||
-rw-r--r-- | glustolibs-io/glustolibs/io/__init__.py | 0 | ||||
-rw-r--r-- | glustolibs-io/setup.py | 54 |
3 files changed, 55 insertions, 0 deletions
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)] +) |