If a person does not want to use the cloud, they should not have to install all of the AWS or GCP packages. If they only want to use GCP, they should not have to install the AWS packages.
Use the pyproject.toml optional dependencies system to make the AWS and GCP dependencies optional and update the code to detect when the imports fail when that feature is requested and print a useful message that includes instructions about including the new dependencies in the requirements file.
For example:
AWS support not installed. Please add rms-filecache[aws] to your requirements.txt or pyproject.toml file.
https://setuptools.pypa.io/en/latest/userguide/dependency_management.html#optional-dependencies
If a person does not want to use the cloud, they should not have to install all of the AWS or GCP packages. If they only want to use GCP, they should not have to install the AWS packages.
Use the
pyproject.tomloptional dependencies system to make the AWS and GCP dependencies optional and update the code to detect when the imports fail when that feature is requested and print a useful message that includes instructions about including the new dependencies in the requirements file.For example:
https://setuptools.pypa.io/en/latest/userguide/dependency_management.html#optional-dependencies