blob: 3249c3a6c0b9d5d591a3d647047f72df275575f4 [file] [log] [blame]
Matt Hart96ca8662013-08-21 13:37:35 +01001#! /usr/bin/env python
2#
3# Copyright (C) 2013 Linaro Limited
4#
matthew.hart@linaro.org5e4fce92013-08-22 11:29:21 +01005# Author: Matthew Hart <matthew.hart@linaro.org>
Matt Hart96ca8662013-08-21 13:37:35 +01006#
matthew.hart@linaro.org5e4fce92013-08-22 11:29:21 +01007# This file is part of LAVA-PDU.
Matt Hart96ca8662013-08-21 13:37:35 +01008#
9# LAVA Coordinator is free software; you can redistribute it and/or modify
10# it under the terms of the GNU General Public License as published by
11# the Free Software Foundation; either version 2 of the License, or
12# (at your option) any later version.
13#
14# LAVA Coordinator is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17# GNU General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with this program; if not, see <http://www.gnu.org/licenses>.
21
22from setuptools import setup, find_packages
23
24setup(
25 name='lavapdu',
26 version="0.0.1",
27 author="Matthew Hart",
28 author_email="matthew.hart@linaro.org",
29 license="GPL2+",
30 description="LAVA PDU Deamon for APC PDU's",
31 packages=find_packages(),
32 install_requires=[
33 "daemon",
34 "lockfile",
Matt Hart717fe4b2013-08-22 10:32:30 +010035 "pexpect",
36 "sqlite2"
Matt Hart96ca8662013-08-21 13:37:35 +010037 ],
38 data_files=[
matthew.hart@linaro.org5e4fce92013-08-22 11:29:21 +010039 ("/etc/init.d/", ["etc/lavapdu-runner.init"]),
40 ("/etc/init.d/", ["etc/lavapdu-listener.init"]),
41 ("/etc/", ["etc/lavapdu-listener.conf"]),
42 ("/etc/", ["etc/lavapdu-runner.conf"]),
Matt Hart1e266832013-08-22 10:10:30 +010043 ("/etc/logrotate.d/", ["etc/lavapdulogrotate"]),
matthew.hart@linaro.org5e4fce92013-08-22 11:29:21 +010044 ("/var/lib/lavapdu/", ["var/lib/lavapdu/pdu.db"])
Matt Hart96ca8662013-08-21 13:37:35 +010045 ],
46 scripts=[
matthew.hart@linaro.org5e4fce92013-08-22 11:29:21 +010047 'lavapdu-runner',
48 'lavapdu-listener'
Matt Hart96ca8662013-08-21 13:37:35 +010049 ],
50 zip_safe=False,
51 include_package_data=True)