def should_vendor_libs():
 vendor_libs = (not os.getenv(u'GIT_COLA_NO_VENDOR_LIBS', u''))
 if (u'--no-vendor-libs' in sys.argv):
  sys.argv.remove(u'--no-vendor-libs')
  vendor_libs = False
 return vendor_libs

def should_vendor_libs ( ) : vendor_libs = ( not os . getenv ( u'GIT_COLA_NO_VENDOR_LIBS' , u'' ) ) if ( u'--no-vendor-libs' in sys . argv ) : sys . argv . remove ( u'--no-vendor-libs' ) vendor_libs = False return vendor_libs
return true if we should include vendored libraries .