Open zt-initech opened 4 years ago
I'm glad to take a patch that would allow this to happen. I'm not sure how the tests would fair without pillow installed.
Honestly, to me, the real ask would be for pillow-smd to install in an alternative directory.
If they could both be installed at the same time, it would be trivial for us to add it as a new backend and potentially make the case that it should be default.
You are going to fight an uphill battle getting this to work without a change in pillow-smd.
Finally, you can likely create your own conda channel and package that does not depend on pillow, but rather pillow-smd and use conda for your projects
I am not sure if there is an easy way to address this on our side. It seems that the corresponding functionality for setup.py never got accepted - https://www.python.org/dev/peps/pep-0426/#alternative-dependencies . Conditional dependencies are available only for Python-/system-level markers - https://www.python.org/dev/peps/pep-0508/.
Why is there such a mess around PIL anyways? 😄 Cannot they "just" have everything in a single package?
As a workaround, you may use the --no-deps
flag. Not fun, but can work if you need to test things.
Description
The requirements lists
Pillow>=4.3.0
, please make it accept Pillow-SIMD as an alternative.Since Pillow-SIMD and Pillow both install into the PIL directory, they are mutually exclusive.
Way to reproduce
Version information