blob: f74a3eb9be7062cabc69c2d303714897ada4c355 [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',
Neil Williams6877b1f2014-02-13 11:16:51 +000026 version="0.0.2",
Matt Hart96ca8662013-08-21 13:37:35 +010027 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",
matthew.hart@linaro.org6e15b5e2013-08-28 19:48:51 +010036 "psycopg2"
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"]),
matthew.hart@linaro.org3e6b91b2013-08-27 15:19:20 +010040 ("/etc/init.d/", ["etc/lavapdu-listen.init"]),
matthew.hart@linaro.org6e15b5e2013-08-28 19:48:51 +010041 ("/etc/", ["etc/lavapdu.conf"]),
Matt Hart1e266832013-08-22 10:10:30 +010042 ("/etc/logrotate.d/", ["etc/lavapdulogrotate"]),
Matt Hart96ca8662013-08-21 13:37:35 +010043 ],
44 scripts=[
matthew.hart@linaro.org5e4fce92013-08-22 11:29:21 +010045 'lavapdu-runner',
Neil Williams6877b1f2014-02-13 11:16:51 +000046 'lavapdu-listen',
47 'pduclient'
Matt Hart96ca8662013-08-21 13:37:35 +010048 ],
49 zip_safe=False,
matthew.hart@linaro.org2a92ef22013-08-27 12:08:16 +010050 include_package_data=True)