def _build_egg(egg, archive_filename, to_dir):
 with archive_context(archive_filename):
  log.warn('Building a Setuptools egg in %s', to_dir)
  _python_cmd('setup.py', '-q', 'bdist_egg', '--dist-dir', to_dir)
 log.warn(egg)
 if (not os.path.exists(egg)):
  raise IOError('Could not build the egg.')

def _build_egg ( egg , archive_filename , to_dir ) : with archive_context ( archive_filename ) : log . warn ( 'Building a Setuptools egg in %s' , to_dir ) _python_cmd ( 'setup.py' , '-q' , 'bdist_egg' , '--dist-dir' , to_dir ) log . warn ( egg ) if ( not os . path . exists ( egg ) ) : raise IOError ( 'Could not build the egg.' )
build setuptools egg .