astropy/astropy — pull request #104 by mdboom (2011-12-05 18:00:27+00:00)
Title: Use config and data systems for io.vo and wcs.  Fix some initial bugs in data system.

Uses `config.data.get_data_filename` and `config.get_data_fileobj` in `io.vo` and `wcs` packages where appropriate. This is mainly in the test code.

Adds support for globbing the contents of a directory using `config.get_data_filenames` and `config.get_data_fileobjs`. (Addresses #95).

Adds a way to get locally-installed data files without importing Python modules along the way. This uses a shortcut where the caller's module is determined using the `find_current_module` trick used in the configuration framework. (Addresses #94).

Note there were a lot of trailing whitespace problems in `data.py` so the diff is funky there. Turn off whitespace diffing to make it more obvious what I changed. We should probably all set our editors to remove trailing whitespace if possible.