d36e737abdff340e21ff2420af51e85b2b37710d
[openwrt/svn-archive/archive.git] / libs / twisted / patches / 000-select_submodules.patch
1 diff -ruN Twisted-2.5.0/setup.py Twisted-2.5.0.new/setup.py
2 --- Twisted-2.5.0/setup.py 2007-01-08 16:30:05.000000000 -0600
3 +++ Twisted-2.5.0.new/setup.py 2007-05-10 13:42:28.361934000 -0500
4 @@ -16,9 +16,19 @@
5 """
6
7 import sys, os, glob
8 +# sumoSubprojects = ['core', 'conch', 'lore', 'mail', 'names',
9 +# 'runner', 'web', 'words', 'news']
10 +
11 +sp = os.getenv("TWISTED_SUBPROJECTS", None)
12 +if sp == None:
13 + sumoSubprojects = ['core']
14 +else:
15 + sumoSubprojects = sp.split()
16 +
17 +## make sure core is in sumoSubprojects
18 +if 'core' not in sumoSubprojects:
19 + sumoSubprojects.insert(0, 'core')
20
21 -sumoSubprojects = ['core', 'conch', 'lore', 'mail', 'names',
22 - 'runner', 'web', 'words', 'news']
23
24 specialPaths = {'core': 'twisted/topfiles/setup.py'}
25