parameters: ()
docstring: Prepare the environment, such as get source code from git,
      generate script running in docker container etc.
docstring_summary: Prepare the environment, such as get source code from git,
      generate script running in docker container etc.
docstring_tokens: Prepare the environment such as get source code from git generate script running in docker container etc .
function: def prepare():
      """
      Prepare the environment, such as get source code from git,
      generate script running in docker container etc.
      """
      exec_cmd('rm -rf %s'%working_dir)
      os.makedirs(os.path.join(working_dir, 'command'))
      os.makedirs(os.path.join(working_dir, 'package'))
  
      for name in os_list:
          image = docker_images[name+':dev']
          if not docker_image_exist(image):
              docker_pull_image()
function_tokens: def prepare ( ) : exec_cmd ( 'rm -rf %s' % working_dir ) os . makedirs ( os . path . join ( working_dir , 'command' ) ) os . makedirs ( os . path . join ( working_dir , 'package' ) ) for name in os_list : image = docker_images [ name + ':dev' ] if not docker_image_exist ( image ) : docker_pull_image ( )