Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make swift / s3 requirements optional #66

Open
3 tasks
jtratner opened this issue Jan 20, 2018 · 0 comments
Open
3 tasks

Make swift / s3 requirements optional #66

jtratner opened this issue Jan 20, 2018 · 0 comments

Comments

@jtratner
Copy link
Contributor

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)

@jtratner jtratner added this to the stor 2.0 milestone Jan 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant