Removes unnecessary packages. Removes psycopg2 egg.