Add setup.cfg

Also remove the offending rule in .gitignore, which prevented it from
being added in the first place.