BLD: setup.py version strings. handle shallow clones and installing from sdist