problems with setup.py

Corrected Errors in setup.py script changed ConfigSettings to ConfigSetting and moved lines up to be in scope.

I don't know if something about my python version made the calls to ConfigSetting be out of scope, but being after the for loops did not work on my setup.

Here is my version info for fedora and python
Linux localhost.localdomain 3.3.4-5.fc17.x86_64 #1 SMP Mon May 7 17:29:34
UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Python 2.7.3 (default, Apr 30 2012, 21:18:11)
[GCC 4.7.0 20120416 (Red Hat 4.7.0-2)] on linux2