def _easy_install(argv, python_cmd, use_sudo):
 command = ('python -c "        from pkg_resources import load_entry_point;        ez = load_entry_point(\'setuptools\', \'console_scripts\', \'easy_install\');        ez(argv=%(argv)r)    ' % locals())
 if use_sudo:
  run_as_root(command)
 else:
  run(command)

def _easy_install ( argv , python_cmd , use_sudo ) : command = ( 'python -c "        from pkg_resources import load_entry_point;        ez = load_entry_point(\'setuptools\', \'console_scripts\', \'easy_install\');        ez(argv=%(argv)r)    ' % locals ( ) ) if use_sudo : run_as_root ( command ) else : run ( command )
install packages using easy_install we dont know if the easy_install command in the path will be the right one .