Matt Hart | 96ca866 | 2013-08-21 13:37:35 +0100 | [diff] [blame] | 1 | #! /usr/bin/env python |
| 2 | # |
| 3 | # Copyright (C) 2013 Linaro Limited |
| 4 | # |
matthew.hart@linaro.org | 5e4fce9 | 2013-08-22 11:29:21 +0100 | [diff] [blame] | 5 | # Author: Matthew Hart <matthew.hart@linaro.org> |
Matt Hart | 96ca866 | 2013-08-21 13:37:35 +0100 | [diff] [blame] | 6 | # |
matthew.hart@linaro.org | 5e4fce9 | 2013-08-22 11:29:21 +0100 | [diff] [blame] | 7 | # This file is part of LAVA-PDU. |
Matt Hart | 96ca866 | 2013-08-21 13:37:35 +0100 | [diff] [blame] | 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 | |
| 22 | from setuptools import setup, find_packages |
| 23 | |
| 24 | setup( |
| 25 | name='lavapdu', |
Neil Williams | 424fbbb | 2014-05-16 20:34:00 +0100 | [diff] [blame^] | 26 | version="0.0.3", |
Matt Hart | 96ca866 | 2013-08-21 13:37:35 +0100 | [diff] [blame] | 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 Hart | 717fe4b | 2013-08-22 10:32:30 +0100 | [diff] [blame] | 35 | "pexpect", |
matthew.hart@linaro.org | 6e15b5e | 2013-08-28 19:48:51 +0100 | [diff] [blame] | 36 | "psycopg2" |
Matt Hart | 96ca866 | 2013-08-21 13:37:35 +0100 | [diff] [blame] | 37 | ], |
| 38 | data_files=[ |
matthew.hart@linaro.org | 5e4fce9 | 2013-08-22 11:29:21 +0100 | [diff] [blame] | 39 | ("/etc/init.d/", ["etc/lavapdu-runner.init"]), |
matthew.hart@linaro.org | 3e6b91b | 2013-08-27 15:19:20 +0100 | [diff] [blame] | 40 | ("/etc/init.d/", ["etc/lavapdu-listen.init"]), |
matthew.hart@linaro.org | 6e15b5e | 2013-08-28 19:48:51 +0100 | [diff] [blame] | 41 | ("/etc/", ["etc/lavapdu.conf"]), |
Matt Hart | 1e26683 | 2013-08-22 10:10:30 +0100 | [diff] [blame] | 42 | ("/etc/logrotate.d/", ["etc/lavapdulogrotate"]), |
Matt Hart | 96ca866 | 2013-08-21 13:37:35 +0100 | [diff] [blame] | 43 | ], |
| 44 | scripts=[ |
matthew.hart@linaro.org | 5e4fce9 | 2013-08-22 11:29:21 +0100 | [diff] [blame] | 45 | 'lavapdu-runner', |
Neil Williams | 6877b1f | 2014-02-13 11:16:51 +0000 | [diff] [blame] | 46 | 'lavapdu-listen', |
| 47 | 'pduclient' |
Matt Hart | 96ca866 | 2013-08-21 13:37:35 +0100 | [diff] [blame] | 48 | ], |
| 49 | zip_safe=False, |
matthew.hart@linaro.org | 2a92ef2 | 2013-08-27 12:08:16 +0100 | [diff] [blame] | 50 | include_package_data=True) |