-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
42 lines (40 loc) · 1.4 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
from distutils.core import setup
import os
import re
def build_testcases_filelist(dst, path):
xpat = re.compile("~$")
lst = []
for root, dirs, files in os.walk(path):
lf = []
for f in files:
if xpat.search(f):
continue
lf.append(os.path.join(root, f))
lst.append((os.path.join(dst, root), lf))
return lst
setup(
name='igor',
version='0.4.0',
author='Fabian Deutsch',
author_email='fabiand@fedoraproject.org',
packages=['igor',
'igor.daemon',
'igor.daemon.backends',
'igor.daemon.hooks',
'igor.client'],
package_data={'igor': ['data/*.xsl'],
'igor.daemon': ['data/*.sh']},
scripts=['bin/igord',
'bin/igorc'],
data_files=[('lib/systemd/system', ['data/igord.service',
'slave/igor-slave.service']),
('/etc/igord', ['data/igord.cfg.example']),
('/etc/igord/hook.d', ['data/redis-event-publisher-hook']),
('bin', ['slave/igor-slave']),
('/var/run/igord', []),
('lib/igord/testcases', []),], # FIXME testcases are missing
url='http://www.github.com/fabiand/igor',
license='LGPLv2',
description='Testing a Linux distribution',
long_description=open('README').read(),
)