-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·53 lines (49 loc) · 1.92 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
#!/usr/bin/python
# This file is part of python-ocf.
# Copyright (C) 2015 Tiger Computing Ltd. <[email protected]>
#
# 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 distutils.util import convert_path
from setuptools import setup, find_packages
# Read the version number from nrpe_ng/version.py. This avoids needing to
# query setuptools for the version at run-time.
main_ns = {}
ver_path = convert_path('ocf/version.py')
with open(ver_path) as ver_file:
exec(ver_file.read(), main_ns)
setup(
name='python-ocf',
version=main_ns['__version__'],
description='Open Clustering Framework Resource Agent API for Python',
author='Tiger Computing Ltd.',
author_email='[email protected]',
license='GPL-2+',
url='https://github.com/tigercomputing/python-ocf/',
install_requires=[
'lxml',
'six',
],
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Other Environment',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
('License :: OSI Approved :: GNU General Public License v2 or later '
'(GPLv2+)'),
'Topic :: System :: Clustering',
'Topic :: System :: Systems Administration',
],
packages=find_packages(),
)