vaab / colour

Python color representations manipulation library (RGB, HSL, web, ...)
BSD 2-Clause "Simplified" License
319 stars 41 forks source link

Collision in package name with colour-science #62

Open hop-soellingeraj opened 2 years ago

hop-soellingeraj commented 2 years ago

There is a collision in package name, both have package name == colour This package and https://www.colour-science.org/installation-guide/

If the latter is installed in the PYTHONPATH, all attempts to import from colour import Color will fail.

KelSolaar commented 9 months ago

Because we, colour-science/colour are a package and vaab/colour is a module, we take precedence as packages are imported first. I'm thinking to solve this issue by importing vaab/colour into our namespace if it is present on sys.path. It is admittedly gross but this should fix the issues people are having.