-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
56 lines (51 loc) · 2.17 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#
# © Copyright 2020 Hewlett Packard Enterprise Development LP
#
import setuptools
import os
# Read the version from nimbleresults.__init__.__version__
base_path = os.path.dirname(__file__)
with open(os.path.join(base_path, 'nimbleclient', '__init__.py')) as fh:
info = fh.read()
version = [line for line in info.split('\n') if line.startswith('__version__')][0].split(' = ')[1][1:-1]
with open('README.md', 'r') as fh:
long_description = fh.read()
with open('requirements.txt') as requirements:
install_requires = requirements.readlines()
setuptools.setup(
name='nimble-sdk',
version=version,
author='HPE Nimble Storage DCS',
author_email='[email protected]',
maintainer='Suneethkumar Byadarahalli, Alok Ranjan, George Costea',
keywords='HPE Nimble Storage REST API SDK',
description='The HPE Nimble Storage SDK for Python (client library) is a utility that can be leveraged to manage HPE Nimble Storage arrays.',
long_description=long_description,
long_description_content_type='text/markdown',
license='Apache License, Version 2.0',
url='https://github.com/hpe-storage/nimble-python-sdk',
project_urls={
'Documentation': 'https://hpe-storage.github.io/nimble-python-sdk',
'Source': 'https://github.com/hpe-storage/nimble-python-sdk',
'Tracker': 'https://github.com/hpe-storage/nimble-python-sdk/issues',
'Community': 'https://hpedev.io'
},
packages=setuptools.find_packages(),
install_requires=install_requires,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities',
],
python_requires='>=3.6',
)