parameters: (target_dir)
docstring: Create the asset.
docstring_summary: Create the asset.
docstring_tokens: Create the asset .
function: def create_asset(target_dir):
    """Create the asset."""
    if os.name == 'nt':
      print('This script does not run on Windows.')
      sys.exit(1)
  
    create_install_dir()
    if not os.path.isdir(TEMP_DIR):
      os.makedirs(TEMP_DIR)
    download_tarball()
    unzip_tarball()
    build_valgrind()
    copy_files(target_dir)
function_tokens: def create_asset ( target_dir ) : if os . name == 'nt' : print ( 'This script does not run on Windows.' ) sys . exit ( 1 ) create_install_dir ( ) if not os . path . isdir ( TEMP_DIR ) : os . makedirs ( TEMP_DIR ) download_tarball ( ) unzip_tarball ( ) build_valgrind ( ) copy_files ( target_dir )