easy_install python extension allows to install python eggs from console like:
easy_install py2app
But is it possible to access easy_install fu
from setuptools.command import easy_install def install_with_easyinstall(package): easy_install.main(["-U", package]). install_with_easyinstall('py2app')