Files
utilities/ceph/python-cephclient/python-cephclient/setup.py
T
Daniel Badea ea0a829ab2 python-cephclient: rewrite to use ceph-mgr restful plugin
Not using any of the existing python-cephclient package.
(it's a new package sharing the same name). Released
under Apache-2.0 license as part of StarlingX.

Additional commits:
- create session on first API request
- add missing osd_remove function
- add timeout when retrieving url and password
- sanitize osd ID input
- osd_crush_tree discards json output

Story: 2003605
Task: 28860

Depends-On: I31fb9aac89c44bbce24939197446caa987d395cb
Change-Id: I1952a12032bcd08d17786bd817d1e15ce36d5afd
Signed-off-by: Daniel Badea <daniel.badea@windriver.com>
2019-04-26 08:51:19 +00:00

35 lines
1.3 KiB
Python

#!/usr/bin/env python
#
# Copyright (c) 2019 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
import setuptools
setuptools.setup(
name='python-cephclient',
packages=['cephclient'],
version='13.2.2.0',
url='https://github.com/openstack/stx-integ/tree/master/ceph/python-cephclient/python-cephclient', # noqa E501
author='Daniel Badea',
author_email='daniel.badea@windriver.com',
description=(
'A client library in Python for Ceph Mgr RESTful plugin '
'providing REST API access to the cluster over an SSL-secured '
'connection. Python API is compatible with the old Python '
'Ceph client at https://github.com/dmsimard/python-cephclient '
'that no longer works in Ceph mimic because Ceph REST API '
'component was removed.'),
license='Apache-2.0',
keywords='ceph rest api ceph-rest-api client library',
install_requires=['ipaddress', 'requests', 'six'],
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Development Status :: 1 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Intended Audience :: Information Technology',
'Programming Language :: Python',
'Topic :: Utilities'
])