parameters: ()
docstring: re-create the dist folder
docstring_summary: re-create the dist folder
docstring_tokens: re - create the dist folder
function: def clean_dist():
      """re-create the dist folder
      """
      dist_dir = os.path.join(script_dir, "./dist")
      if os.path.exists(dist_dir):
          log.info('Removing distribution directory %s' % dist_dir)
          rmtree(dist_dir)
  
      dist_dir = os.path.join(script_dir, "./dist/dlib")
      try:
          os.makedirs(dist_dir)
      except OSError:
          pass
function_tokens: def clean_dist ( ) : dist_dir = os . path . join ( script_dir , "./dist" ) if os . path . exists ( dist_dir ) : log . info ( 'Removing distribution directory %s' % dist_dir ) rmtree ( dist_dir ) dist_dir = os . path . join ( script_dir , "./dist/dlib" ) try : os . makedirs ( dist_dir ) except OSError : pass