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 | # |
Matt Hart | fc64682 | 2015-02-27 14:51:16 +0000 | [diff] [blame] | 7 | # This file is part of PDUDAEMON. |
Matt Hart | 96ca866 | 2013-08-21 13:37:35 +0100 | [diff] [blame] | 8 | # |
Matt Hart | fc64682 | 2015-02-27 14:51:16 +0000 | [diff] [blame] | 9 | # PDUDAEMON is free software; you can redistribute it and/or modify |
Matt Hart | 96ca866 | 2013-08-21 13:37:35 +0100 | [diff] [blame] | 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 | # |
Matt Hart | fc64682 | 2015-02-27 14:51:16 +0000 | [diff] [blame] | 14 | # PDUDAEMON is distributed in the hope that it will be useful, |
Matt Hart | 96ca866 | 2013-08-21 13:37:35 +0100 | [diff] [blame] | 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 | 51f0f44 | 2015-07-01 19:31:39 +0100 | [diff] [blame] | 26 | version="0.0.5", |
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", |
Matt Hart | d4a0998 | 2015-07-17 16:13:11 +0100 | [diff] [blame] | 36 | "psycopg2", |
| 37 | "setproctitle" |
Matt Hart | 96ca866 | 2013-08-21 13:37:35 +0100 | [diff] [blame] | 38 | ], |
| 39 | data_files=[ |
matthew.hart@linaro.org | 5e4fce9 | 2013-08-22 11:29:21 +0100 | [diff] [blame] | 40 | ("/etc/init.d/", ["etc/lavapdu-runner.init"]), |
matthew.hart@linaro.org | 3e6b91b | 2013-08-27 15:19:20 +0100 | [diff] [blame] | 41 | ("/etc/init.d/", ["etc/lavapdu-listen.init"]), |
Neil Williams | 51f0f44 | 2015-07-01 19:31:39 +0100 | [diff] [blame] | 42 | ("/usr/share/lavapdu/", [ |
| 43 | "etc/lavapdu-listen.service", |
| 44 | "etc/lavapdu-runner.service" |
| 45 | ]), |
Matt Hart | 7658417 | 2015-03-02 10:25:51 +0000 | [diff] [blame] | 46 | ("/etc/lavapdu/", ["etc/lavapdu/lavapdu.conf"]), |
Matt Hart | 1e26683 | 2013-08-22 10:10:30 +0100 | [diff] [blame] | 47 | ("/etc/logrotate.d/", ["etc/lavapdulogrotate"]), |
Matt Hart | 96ca866 | 2013-08-21 13:37:35 +0100 | [diff] [blame] | 48 | ], |
| 49 | scripts=[ |
matthew.hart@linaro.org | 5e4fce9 | 2013-08-22 11:29:21 +0100 | [diff] [blame] | 50 | 'lavapdu-runner', |
Neil Williams | 6877b1f | 2014-02-13 11:16:51 +0000 | [diff] [blame] | 51 | 'lavapdu-listen', |
| 52 | 'pduclient' |
Matt Hart | 96ca866 | 2013-08-21 13:37:35 +0100 | [diff] [blame] | 53 | ], |
| 54 | zip_safe=False, |
matthew.hart@linaro.org | 2a92ef2 | 2013-08-27 12:08:16 +0100 | [diff] [blame] | 55 | include_package_data=True) |