sphinx setup for deployment