python: handle == dependency requirement correctly
Merge pull request #461 from r4um/pr_452

python: handle == dependency requirement correctly