1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#!/usr/bin/env python
# vim: set sw=4 sts=4 et :
# Copyright: 2008 Gentoo Foundation
# Author(s): Nirbheek Chauhan <nirbheek.chauhan@gmail.com>
# 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']},
)
|