Yes, setup.py is generated, but it is not overwritten if already present, because user can (and in many cases must) customize it.