<s> """<STR_LIT>""" <EOL> import sys , os <EOL> def setup_path ( ) : <EOL> """<STR_LIT>""" <EOL> dir_path = '<STR_LIT>' <EOL> extra_paths = [ <EOL> dir_path , <EOL> os . path . join ( dir_path , '<STR_LIT>' , '<STR_LIT>' ) , <EOL> os . path . join ( dir_path , '<STR_LIT>' , '<STR_LIT>' ) , <EOL> os . path . join ( dir_path , '<STR_LIT>' , '<STR_LIT>' ) , <EOL> os . path . join ( dir_path , '<STR_LIT>' , '<STR_LIT>' ) , <EOL> os . path . join ( dir_path , '<STR_LIT>' , '<STR_LIT>' ) , <EOL> os . path . join ( dir_path , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) , <EOL> ] <EOL> sys . path = extra_paths + sys . path <EOL> def setup_appserver ( ) : <EOL> """<STR_LIT>""" <EOL> from google . appengine . tools import dev_appserver <EOL> from google . appengine . tools . dev_appserver_main import * <EOL> option_dict = DEFAULT_ARGS . copy ( ) <EOL> option_dict [ ARG_CLEAR_DATASTORE ] = True <EOL> root_path = os . path . join ( os . path . dirname ( __file__ ) , '<STR_LIT:..>' ) <EOL> ( config , matcher ) = dev_appserver . LoadAppConfig ( root_path , { } ) <EOL> dev_appserver . SetupStubs ( config . application , ** option_dict ) </s>
