Create a proper sphinx environment.