improvements to setup.py. half-working!
improved setup.py