why are you modifying your setup.py file? can't you just run: swig -c++ -python exampleFile.i ?
have you seen http://www.swig.org/tutorial.html , does it describe something like what you'd like to do? n -- http://mail.python.org/mailman/listinfo/python-list