Convert Python packages into a single script