#!/usr/bin/env python # vim: set sw=4 sts=4 et : # Copyright: 2008 Gentoo Foundation # Author(s): Nirbheek Chauhan # License: GPL-3 # # Immortal lh! # import os from distutils.core import Command, setup class print_help(Command): description = "Print help" user_options = [('help','h',"Help help")] def initialize_options(self): pass def finalize_options(self): pass def run(self): print \ """ setup.py: Run this file as root to install the AutotuA slave * Edit /etc/autotua/slave.cfg for the settings * Set the http_proxy variable if you want to use an http proxy (will tunnel everything) - You can force autotua to not use the http_proxy for tunnelling by setting ignore_proxy = true """ setup(name='autotua-slave', version='0.0.2', description='Build slave for AutotuA', author='Nirbheek Chauhan', author_email='nirbheek.chauhan@gmail.com', license='GPL-3', url='http://www.autotua.org/', cmdclass={'help': print_help}, data_files=[('/etc/autotua', ['config/slave.cfg']), ('/usr/bin', ['scripts/git-proxy-cmd.sh'])], packages=['autotua', 'autotua.chroot', 'autotua.daemon', 'autotua.fetch', 'autotua.jobuild', 'autotua.sync', 'autotua.crypt'], package_data={'autotua': ['bin/*.sh']}, )