Packaging only eggs or source

APY-142 : Rewrite packiging code

Added option for packaging only eggs or source distribution.