Create Python C extension using MacOS 10.15 (Catalina) that is backwards compatible (MacOS10.9+)
I found the solution to my problem and I will post the answer here in case someone else has the same problem.
In order to fix the problem I had to also set
export MACOSX_DEPLOYMENT_TARGET=10.9 before I install python using
pip wheel creates my wheel with the tag
PS: When installing python via
pyenv, python is compiled from source, and somehow it takes into account the flag