| #! /usr/bin/env python |
| # |
| # Copyright (C) 2013 Linaro Limited |
| # |
| # Author: Neil Williams <neil.williams@linaro.org> |
| # |
| # This file is part of LAVA Coordinator. |
| # |
| # LAVA Coordinator is free software; you can redistribute it and/or modify |
| # it under the terms of the GNU General Public License as published by |
| # the Free Software Foundation; either version 2 of the License, or |
| # (at your option) any later version. |
| # |
| # LAVA Coordinator is distributed in the hope that it will be useful, |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| # GNU General Public License for more details. |
| # |
| # You should have received a copy of the GNU General Public License |
| # along with this program; if not, see <http://www.gnu.org/licenses>. |
| |
| from setuptools import setup, find_packages |
| |
| setup( |
| name='lavapdu', |
| version="0.0.1", |
| author="Matthew Hart", |
| author_email="matthew.hart@linaro.org", |
| license="GPL2+", |
| description="LAVA PDU Deamon for APC PDU's", |
| packages=find_packages(), |
| install_requires=[ |
| "daemon", |
| "lockfile", |
| "pexpect", |
| "sqlite2" |
| ], |
| data_files=[ |
| ("/etc/init.d/", ["etc/lava-pdu-runner.init"]), |
| ("/etc/init.d/", ["etc/lava-pdu-listener.init"]), |
| ("/etc/lavapdu/", ["etc/lava-pdu-listener.conf"]), |
| ("/etc/lavapdu/", ["etc/lava-pdu-runner.conf"]), |
| ("/etc/logrotate.d/", ["etc/lavapdulogrotate"]), |
| ("/var/lib/lava-pdu/", ["var/lib/lava-pdu/pdu.db"]) |
| ], |
| scripts=[ |
| 'lava-pdu-runner', |
| 'lava-pdu-listener' |
| ], |
| zip_safe=False, |
| include_package_data=True) |