fixed a bug in generate_setup-cfg.py