Update gen_setups.py

Removed (unreachable) junk from a previous version