Maybe I can trigger a print statement if --stub is True but self.platform != winXX. Something along the lines of

"--stub flag only applicable to win builds" or something like that. A bit like educating the user rather than punishing him/her.

What do you think?