class sysconfig::packages {

  $spel_pkgs = [
      'python-dev',
      'python-setuptools',
      'libpq-dev',
      'libjpeg8-dev',
      'libxslt-dev',
      'libxml2',
      'mercurial'
  ]
  
  package { $spel_pkgs: ensure => "installed" }

  #upgrade setuptools
  exec { '/usr/bin/easy_install --upgrade setuptools': require => Package[$spel_pkgs]}

  
}
