forked from clusto/clusto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·50 lines (45 loc) · 2.17 KB
/
setup.py
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
44
45
46
47
48
#!/usr/bin/env python
import glob
import os
import sys
from setuptools import setup, find_packages
srcdir = os.path.join(os.path.dirname(sys.argv[0]), 'src')
setup(name = "clusto",
version = "0.5.32",
packages = find_packages('src'),
author = "Ron Gorodetzky",
author_email = "[email protected]",
description = "Clusto, cluster management and inventory system",
install_requires = ['sqlalchemy>=0.6.4',
'IPython',
'PyYAML',
'python-memcached',
],
zip_safe=False,
package_dir = {'':'src'},
#scripts=glob.glob(os.path.join(srcdir, 'scripts', 'clusto')),
scripts=[os.path.join(srcdir, 'scripts', 'clusto'),
os.path.join(srcdir, 'scripts', 'clusto-allocate'),
os.path.join(srcdir, 'scripts', 'clusto-attr'),
os.path.join(srcdir, 'scripts', 'clusto-console'),
os.path.join(srcdir, 'scripts', 'clusto-dhcpd'),
os.path.join(srcdir, 'scripts', 'clusto-fai'),
os.path.join(srcdir, 'scripts', 'clusto-kvm'),
os.path.join(srcdir, 'scripts', 'clusto-httpd'),
os.path.join(srcdir, 'scripts', 'clusto-info'),
os.path.join(srcdir, 'scripts', 'clusto-list-pool'),
os.path.join(srcdir, 'scripts', 'clusto-mysql'),
os.path.join(srcdir, 'scripts', 'clusto-pool'),
os.path.join(srcdir, 'scripts', 'clusto-puppet-node'),
os.path.join(srcdir, 'scripts', 'clusto-hadoop-node'),
os.path.join(srcdir, 'scripts', 'clusto-reboot'),
os.path.join(srcdir, 'scripts', 'clusto-shell'),
os.path.join(srcdir, 'scripts', 'clusto-snmptrapd'),
os.path.join(srcdir, 'scripts', 'clusto-tree'),
os.path.join(srcdir, 'scripts', 'clusto-update-info'),
os.path.join(srcdir, 'scripts', 'clusto-vm'),
os.path.join(srcdir, 'scripts', 'clusto-deallocate'),
],
test_suite = "clusto.test.alltests.gettests",
dependency_links=['http://www.secdev.org/projects/scapy/']
)