Replies: 1 comment 5 replies
-
Hi @djhoese,
It makes maintenance a huge burden, and it is already quite high:
There is no plan to make Scipy optional to install again at this point. We rely on quite a bit of functionality of it now, especially in the Have you considered installing from Github directly? https://stackoverflow.com/a/15268990/931625 Cheers, Thomas |
Beta Was this translation helpful? Give feedback.
-
I've found the advanced section that discusses the requirement of scipy and how to work around it:
https://colour.readthedocs.io/en/latest/advanced.html#using-colour-without-scipy
But I have a package that only needs the colorspace conversions (specifically RGB to HCL and HCL to RGB) and only depends on numpy and pillow otherwise. Since most of our users are installing from PyPI or conda-forge it isn't really an option (unless I'm missing something) to install
colour-science
without the largescipy
dependency coming along for the ride.I'm wondering if anyone has other options or ideas for what could be done to get the colorspace conversion functionality without the scipy dependency, but in a library use case where the user won't be manually installing colour. What are the chances of splitting colour into more packages? Or making scipy an optional dependency again (maybe with better import/error handling)?
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions