#NEWLINE# def coffeescript_paths( path ) : #NEWLINE# #INDENT# full_path = os . path . join ( STATIC_ROOT , path ) #NEWLINE# if ( settings . DEBUG and ( not os . path . exists ( full_path ) ) ) : #NEWLINE# #INDENT# full_path = finders . find ( path ) #NEWLINE# if ( full_path is None ) : #NEWLINE# #INDENT# raise TemplateSyntaxError ( "Can't find staticfile named: {}" . format ( path ) ) #NEWLINE# #UNINDENT# #UNINDENT# file_name = os . path . split ( path ) [ ( - 1 ) ] #NEWLINE# output_dir = os . path . join ( COFFEESCRIPT_ROOT , COFFEESCRIPT_OUTPUT_DIR , os . path . dirname ( path ) ) #NEWLINE# return ( full_path , file_name , output_dir )