blob: 7b9321e8c1368a2975f562e2332c087c53745efa [file] [log] [blame]
Matt Hart96ca8662013-08-21 13:37:35 +01001#! /usr/bin/env python
2#
3# Copyright (C) 2013 Linaro Limited
4#
5# Author: Neil Williams <neil.williams@linaro.org>
6#
7# This file is part of LAVA Coordinator.
8#
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",
35 "pexpect"
36 ],
37 data_files=[
38 ("/etc/init.d/", ["etc/lavapdu.init"]),
39 ("/etc/lavapdu/", ["etc/lava-pdu-listener.conf"]),
40 ("/etc/lavapdu/", ["etc/lava-pdu-runner.conf"]),
41 ("/etc/logrotate.d/", ["etc/lavapdulogrotate"])
42 ],
43 scripts=[
44 'lava-pdu-runner',
45 'lava-pdu-listener'
46 ],
47 zip_safe=False,
48 include_package_data=True)