2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2025-01-26 18:20:22 +01:00
This commit is contained in:
Thomas Nagy 2015-09-20 11:42:20 +02:00
parent 8ba068670a
commit ef72d4657f
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64

View File

@ -22,7 +22,7 @@ PYTHONS = "2.5 2.6 2.7 3.0 3.1 3.2 3.3 3.4".split()
DIRS = ['c', 'python']
if os.environ.get('BUILDFARM', None):
DIRS = [x for x in os.listdir('.') if os.path.isdir(x) and x not in ('variants', 'build', 'mac_app', 'precious')]
DIRS = [x for x in os.listdir('.') if os.path.isdir(x) and x not in ('variants', 'build', 'mac_app', 'precious') and x.find('waf-') < 0]
def options(opt):
for d in opt.path.ant_glob(DIRS, excl=['build', 'variants'], src=False, dir=True):
@ -81,7 +81,7 @@ def configure(conf):
print("The configurations enabled are %r" % conf.env.CFG)
# now remove the cache folders and re-create them
conf.cmd_and_log('rm -rf .waf*')
#conf.cmd_and_log('rm -rf .waf*')
for x in PYTHONS:
try:
conf.find_program('python'+x, var=x)