Project:
rmtoo
Code Location:
git://rmtoo.git.sourceforge.net/gitroot/rmtoo/rmtoomaster
/
Outline
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#!/usr/bin/env python from distutils.core import setup import os, sys package = 'rmtoo' version = '23' add_data = [] for dadi in ['rmtoo/tests', 'rmtoo/collection']: for (path, dirs, files) in os.walk(dadi): add_data.append(( 'share/pyshared/' + path, [path + '/' + filename for filename in files])) def adjust(input, output): if os.path.exists(output): input_time = os.path.getmtime(input) output_time = os.path.getmtime(output) setup_time = os.path.getmtime('setup.py') if output_time > input_time and output_time > setup_time: return os.chmod(output, 0644) os.remove(output) sys.stdout.write('adjusting %s -> %s\n' % (input, output)) buffer = file(input).read() file(output, 'w').write(buffer.replace('@VERSION@', version)) os.chmod(output, 0444) setup(name=package, version=version, description='Requirements Management Tool', author='Andreas Florath', author_email='sf@flonatel.org', url='http://www.flonatel.de/projekte/rmtoo', packages=['rmtoo', 'rmtoo/lib', 'rmtoo/inputs', 'rmtoo/tests', 'rmtoo/outputs', 'rmtoo/lib/analytics', 'rmtoo/lib/configuration', 'rmtoo/lib/digraph', 'rmtoo/lib/logging', 'rmtoo/lib/main', 'rmtoo/lib/storagebackend', 'rmtoo/lib/xmlutils/', 'rmtoo/lib/storagebackend/txtfile', 'rmtoo/lib/vcs', 'rmtoo/lib/xmlutils', 'rmtoo/collection', 'rmtoo/collection/constraints', 'rmtoo/tests/lib', 'rmtoo/tests/SyntaxTest', 'rmtoo/tests/UnitTest', 'rmtoo/tests/UnitTest/tag-tests', 'rmtoo/tests/UnitTest/DigraphTest', 'rmtoo/tests/UnitTest/CoreTests', 'rmtoo/tests/UnitTest/CoreTests/testdata', 'rmtoo/tests/UnitTest/CoreTests/testdata/modules01', 'rmtoo/tests/UnitTest/CoreTests/testdata/modules02', 'rmtoo/tests/UnitTest/CoreTests/testdata/modules03', 'rmtoo/tests/UnitTest/CoreTests/testdata/modules04', 'rmtoo/tests/UnitTest/CoreTests/testdata/modules05', 'rmtoo/tests/UnitTest/CoreTests/testdata/modules06', 'rmtoo/tests/UnitTest/CoreTests/testdata/modules07', 'rmtoo/tests/UnitTest/CoreTests/testdata/modules08', 'rmtoo/tests/UnitTest/topic-tests', 'rmtoo/tests/UnitTest/topic-tests/testdata', 'rmtoo/tests/UnitTest/topic-tests/testdata/topicset01', 'rmtoo/tests/OutputTest', # Blackbox Tests # are included with the 'add_data' statement. ## contrib 'rmtoo/contrib', # async "rmtoo/contrib/async", 'rmtoo/contrib/async/mod', # gitdb 'rmtoo/contrib/gitdb', 'rmtoo/contrib/gitdb/db', # git-python 'rmtoo/contrib/git', 'rmtoo/contrib/git/repo', 'rmtoo/contrib/git/refs', 'rmtoo/contrib/git/index', 'rmtoo/contrib/git/objects', 'rmtoo/contrib/git/objects/submodule', # odf 'rmtoo/contrib/odf', ], data_files=add_data, license="GPL V3", platforms="all", scripts=["bin/rmtoo", "bin/rmtoo-normalize-dependencies", "bin/rmtoo-configuration-convert", "bin/rmtoo-pricing-graph"], )
