-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
63 lines (55 loc) · 2.22 KB
/
setup.py
File metadata and controls
63 lines (55 loc) · 2.22 KB
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
57
58
59
60
61
62
63
# io.open is needed for projects that support Python 2.7
# It ensures open() defaults to text mode with universal newlines,
# and accepts an argument to specify the text encoding
# Python 3 only projects can skip this import
from io import open
from os import path
from setuptools import setup, find_packages
__version__ = '0.2.5.1'
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
with open(path.join(here, 'requirements.txt'), encoding='utf-8') as f:
requires = f.read().splitlines()
setup(
name='python-ibmcclient',
version=__version__,
description='HUAWEI iBMC client',
long_description=long_description,
long_description_content_type='text/x-rst',
url='https://github.com/IamFive/python-ibmcclient',
author='QianBiao NG',
author_email='iampurse@vip.qq.com',
classifiers=[ # Optional
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Developers',
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: Apache Software License',
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
keywords='HUAWEI iBMC redfish API client',
packages=find_packages(exclude=['contrib', 'docs', 'tests']), # Required
install_requires=requires,
extras_require={ # Optional
'dev': ['check-manifest', 'flake8'],
'test': ['coverage'],
},
project_urls={ # Optional
'Bug Reports': 'https://github.com/IamFive/python-ibmcclient/issues',
'Source': 'https://github.com/IamFive/python-ibmcclient',
},
)