added a setup.py file

This is mostly for the benefit of readthedocs.org.