From 2d3891e5b134a0f90e4f3e3d7753d70aa0baf489 Mon Sep 17 00:00:00 2001 From: Akarsha Rai Date: Mon, 17 Sep 2018 09:02:51 +0530 Subject: Added install required packages to setup.py Change-Id: I6032c7bcbfb2701f8b98db08990e93fb325833af Signed-off-by: Akarsha Rai --- glustolibs-gluster-gd2/glustolibs/__init__.py | 1 + .../glustolibs/gluster/__init__.py | 1 + glustolibs-gluster-gd2/setup.py | 49 ++++++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 glustolibs-gluster-gd2/glustolibs/__init__.py create mode 100644 glustolibs-gluster-gd2/glustolibs/gluster/__init__.py create mode 100644 glustolibs-gluster-gd2/setup.py diff --git a/glustolibs-gluster-gd2/glustolibs/__init__.py b/glustolibs-gluster-gd2/glustolibs/__init__.py new file mode 100644 index 0000000..de40ea7 --- /dev/null +++ b/glustolibs-gluster-gd2/glustolibs/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/glustolibs-gluster-gd2/glustolibs/gluster/__init__.py b/glustolibs-gluster-gd2/glustolibs/gluster/__init__.py new file mode 100644 index 0000000..b0d6433 --- /dev/null +++ b/glustolibs-gluster-gd2/glustolibs/gluster/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) \ No newline at end of file diff --git a/glustolibs-gluster-gd2/setup.py b/glustolibs-gluster-gd2/setup.py new file mode 100644 index 0000000..92d3e36 --- /dev/null +++ b/glustolibs-gluster-gd2/setup.py @@ -0,0 +1,49 @@ +#!/usr/bin/python +# Copyright (c) 2018 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 +from distutils import dir_util + +version = '0.23' +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'] +) -- cgit