Skip to content

Add AWS and GS support as optional dependencies #64

@rfrenchseti

Description

@rfrenchseti

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions