Being direct is not rude or impolite. If you want to say, 'Please stop flirting with me', then do it without a second thought. But if you think that is too blatant, then perhaps try to hint that you are not interested in looking for anybody at the moment. Consider slipping something like, 'Oh, I'm just not available to date as of now' in your conversation.