00001 """ 00002 Default applications to import 00003 """ 00004 from slimproj_core.builders.my_de_call import DefaultEnvCall as _DefaultEnvCall 00005 00006 __copyright__ = """ 00007 Copyright 2008 Sean Ross-Ross 00008 """ 00009 __license__ = """ 00010 This file is part of SLIMpy . 00011 00012 SLIMpy is free software: you can redistribute it and/or modify 00013 it under the terms of the GNU Lesser General Public License as published by 00014 the Free Software Foundation, either version 3 of the License, or 00015 (at your option) any later version. 00016 00017 SLIMpy is distributed in the hope that it will be useful, 00018 but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 GNU Lesser General Public License for more details. 00021 00022 You should have received a copy of the GNU Lesser General Public License 00023 along with SLIMpy . If not, see <http://www.gnu.org/licenses/>. 00024 """ 00025 00026 from SCons.Script import DefaultEnvironment as _def_env 00027 Solve = _DefaultEnvCall( 'Solve', 'Solve', None ) 00028 00029 def Rush( target, source, rush_action, *p,**kw ): 00030 """ 00031 Default environment call. 00032 The same as native Command builder. 00033 """ 00034 00035 denv = _def_env( ) 00036 env = denv.Clone( ) 00037 env._Rush( target, source, rush_action=rush_action, *p, **kw )