more boilerplate (setup.py), largely copied from xtas