forked from brianjmurrell/iml-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (42 loc) · 1.55 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
# -*- coding: utf-8 -*-
#!/usr/bin/env python
# Copyright (c) 2018 DDN. All rights reserved.
# Use of this source code is governed by a MIT-style
# license that can be found in the LICENSE file.
from setuptools import setup, find_packages
from chroma_agent import package_version
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, "README.rst"), encoding="utf-8") as f:
long_description = f.read()
excludes = ["*tests*"]
setup(
name="iml-agent",
version=package_version(),
author="whamCloud Team",
author_email="[email protected]",
url="https://pypi.python.org/pypi/iml-agent",
packages=find_packages(exclude=excludes),
include_package_data=True,
license="MIT",
description="The IML software Monitoring and Administration Interface Agent",
long_description=long_description,
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
],
keywords="IML lustre high-availability",
data_files=[("/usr/lib/ocf/resource.d/chroma", ["Target", "ZFS"])],
entry_points={
"console_scripts": [
"chroma-agent = chroma_agent.cli:main",
"chroma-agent-daemon = chroma_agent.agent_daemon:main",
"chroma-copytool-monitor = chroma_agent.copytool_monitor:main",
"fence_chroma = chroma_agent.fence_chroma:main",
]
},
)