def _data_files(vendor_libs):
 data = [_app_path(u'share/git-cola/bin', u'*'), _app_path(u'share/git-cola/icons', u'*.png'), _app_path(u'share/git-cola/icons', u'*.svg'), _app_path(u'share/git-cola/icons/dark', u'*.png'), _app_path(u'share/git-cola/icons/dark', u'*.svg'), _app_path(u'share/appdata', u'*.xml'), _app_path(u'share/applications', u'*.desktop'), _app_path(u'share/doc/git-cola', u'*.rst'), _app_path(u'share/doc/git-cola', u'*.html'), _package(u'cola'), _package(u'cola.models'), _package(u'cola.widgets')]
 if vendor_libs:
  data.extend([_package(u'qtpy'), _package(u'qtpy._patch')])
 data.extend([_app_path(localedir, u'git-cola.mo') for localedir in glob(u'share/locale/*/LC_MESSAGES')])
 return data

def _data_files ( vendor_libs ) : data = [ _app_path ( u'share/git-cola/bin' , u'*' ) , _app_path ( u'share/git-cola/icons' , u'*.png' ) , _app_path ( u'share/git-cola/icons' , u'*.svg' ) , _app_path ( u'share/git-cola/icons/dark' , u'*.png' ) , _app_path ( u'share/git-cola/icons/dark' , u'*.svg' ) , _app_path ( u'share/appdata' , u'*.xml' ) , _app_path ( u'share/applications' , u'*.desktop' ) , _app_path ( u'share/doc/git-cola' , u'*.rst' ) , _app_path ( u'share/doc/git-cola' , u'*.html' ) , _package ( u'cola' ) , _package ( u'cola.models' ) , _package ( u'cola.widgets' ) ] if vendor_libs : data . extend ( [ _package ( u'qtpy' ) , _package ( u'qtpy._patch' ) ] ) data . extend ( [ _app_path ( localedir , u'git-cola.mo' ) for localedir in glob ( u'share/locale/*/LC_MESSAGES' ) ] ) return data
return the list of data files .