astropy/astropy — pull request #108 by iguananaut (2011-12-08 19:23:34+00:00)
Title: Make get_git_devstr() magically know the best path to use...

...without manually specifying one (though a manual path is still possible). Also updated to handle OSErrors. And just after I suggested maybe we were done tweaking this machinery for now... But this seems worthwhile to eliminate confusion. I tested this out with the template affiliated package and it works great.