Simplify python configuration.