Add python version detection in setup file.