def add_config(*args, **kw): # Generate __config__, handle inplace issues. if kw["scons_cmd"].inplace: target = pjoin(kw["pkg_name"], "__config__.py") else: target = pjoin(kw["scons_cmd"].build_lib, kw["pkg_name"], "__config__.py") scons_generate_config_py(target)
def add_config(*args, **kw): # Generate __config__, handle inplace issues. if kw['scons_cmd'].inplace: target = pjoin(kw['pkg_name'], '__config__.py') else: target = pjoin(kw['scons_cmd'].build_lib, kw['pkg_name'], '__config__.py') scons_generate_config_py(target)
def add_config(*args, **kw): # Generate __config__, handle inplace issues. if kw['scons_cmd'].inplace: target = pjoin(kw['pkg_name'], '__config__.py') else: target = pjoin(kw['scons_cmd'].build_lib, kw['pkg_name'], '__config__.py') scons_generate_config_py(target)