Fix setup.py generator