def force_global_eggs_after_local_site_packages():
 egginsert = getattr(sys, '__egginsert', 0)
 for (i, path) in enumerate(sys.path):
  if ((i > egginsert) and path.startswith(sys.prefix)):
   egginsert = i
 sys.__egginsert = (egginsert + 1)

def force_global_eggs_after_local_site_packages ( ) : egginsert = getattr ( sys , '__egginsert' , 0 ) for ( i , path ) in enumerate ( sys . path ) : if ( ( i > egginsert ) and path . startswith ( sys . prefix ) ) : egginsert = i sys . __egginsert = ( egginsert + 1 )
force easy_installed eggs in the global environment to get placed in sys .