Remove global do_sconscript function
This commit is contained in:
parent
e1c4e0c4b7
commit
26eeb0874e
1 changed files with 0 additions and 12 deletions
|
@ -10,18 +10,6 @@ import SCons.Errors
|
||||||
import paths
|
import paths
|
||||||
|
|
||||||
|
|
||||||
def do_sconscript(env, src_dir, out_dir=None):
|
|
||||||
'''
|
|
||||||
Look for a SConscript file in `src_dir` and run it. Return any result.
|
|
||||||
'''
|
|
||||||
sconscript = src_dir.File('SConscript')
|
|
||||||
print 'Reading {}'.format(sconscript)
|
|
||||||
kwargs = {}
|
|
||||||
if out_dir:
|
|
||||||
kwargs['variant_dir'] = out_dir
|
|
||||||
return env.SConscript(sconscript, {'env': env}, **kwargs)
|
|
||||||
|
|
||||||
|
|
||||||
def setup_logging(level=logging.DEBUG):
|
def setup_logging(level=logging.DEBUG):
|
||||||
'''Configure global logging for the SCons system.'''
|
'''Configure global logging for the SCons system.'''
|
||||||
root = logging.getLogger()
|
root = logging.getLogger()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue