Was able to look through find_version.py
and found out that if I checked out a specific tag then then wheel build would actually comply with PEP 440. So I fixed this with:
git checkout tags/66 -b 4.6.0.66
rm -rf _skbuild
pip wheel . --verbose &> build.out
After which I was able to install with pip install opencv_python*.whl
.
A follow up question, should this be using PEP 440, instead of a later version? Or is this something wrong with my setup?
Thanks!