astrofrog/astropy — pull request #5 by eteq (2011-10-20 04:22:09+00:00)
Title: force freezing version to use log and skip odict when builtin in use

This does the two things I mentioned in the astropy repo pull request - uses the ``distutils.log.info`` mechanism with ``distutils.log.set_threshold`` to make it actually be visible, and skips all the odict tests for python versions >=2.7 (for which OrderedDict is in teh standardlib, and the astropy odict just gives the standard object).

Note that I have do a little check to see if '-q' or '--quiet' is at the command line because that should supress messages in setup... but because the version number freeze comes before setup.py, I just use the sort of dumb way of looking directly for the arguments.