I did some local testing and I'm not completely sure how to resolve this. In the mean time I got it working locally using this workaround:
-
activate the virtual environment in the release
source python_env-3.6/bin/activate
-
downgrade setuptools
pip install "setuptools<58"
-
install the requirements
pip install -r requirements/prod-requirements.txt
After that the install files will be cached on the machine and you should be able to re-run the commcare-cloud command.
```