bndr / pipreqs

pipreqs - Generate pip requirements.txt file based on imports of any project. Looking for maintainers to move this project forward.
Apache License 2.0
6.1k stars 383 forks source link

colour-science pip package is detected as colour #183

Open bersbersbers opened 4 years ago

bersbersbers commented 4 years ago

This code shows how colour-science==0.3.14 is detected as colour==0.1.5.

pip install colour-science==0.3.14
echo import colour > bug.py
echo "print(colour.__version__)" >> bug.py
python bug.py
pipreqs --print
bersbersbers commented 4 years ago

I think part of this may be related to that fact that I installed colour-science using pip install . from the colour repository, and pip shows both versions side by side. However, even when uninstalling colour, colour-science does not seem known.