Skip to content

Make swift / s3 requirements optional #66

@jtratner

Description

@jtratner

Turns out PBR does support extras-require, thus installation becomes:

pip install stor[s3,swift]

Would be nice for making a much smaller install for people that are only using s3.

Requires:

  • move requirements to extras
  • change imports to be optional
  • add tests for useful exceptions when appropriate imports aren't available

Open questions:

Should stor.Path('swift://AUTH_final_analysis_prod/A/C') work when swift utilities aren't installed? (similar question about s3:// etc)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions