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

Use extras_require for optional dependencies. #684

Open
gbdlin opened this issue Jan 31, 2022 · 1 comment
Open

Use extras_require for optional dependencies. #684

gbdlin opened this issue Jan 31, 2022 · 1 comment

Comments

@gbdlin
Copy link

gbdlin commented Jan 31, 2022

As sorl-thumbnail needs a separate imaging library for operation, it has to be installed separately. It is common to use another python library like pil, pillow or wand for that, but installing it and never explicitly using it in project may be confusing and may lead to accidental removal of them in the process of cleaning-up dependencies.

Allowing to install such backends together with sorl-thumbnail explicitly, using extras, so it is clear which package relies on its presence.

@Mogost
Copy link
Member

Mogost commented Feb 8, 2023

I like the idea. Could you provide a PR for that?

@gbdlin gbdlin changed the title Use extras_require for explicit dependencies. Use extras_require for optional dependencies. May 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants