astropy/astropy — Issue #95: Add astropy.config.get_data_dir()?
Author: mdboom
Created: 2011-11-28 22:08:24+00:00
State: open

There are a few tests in `wcs` that look in a directory, glob its contents and the loads each file to test that it loads correctly.

It would be nice to have a `astropy.config.get_data_dir()` function to do this globbing. Of course, that wouldn't work remotely (or maybe it could be made to work if directory listings are turned on on the web server), but even without remote support it would be helpful to replace all of the `__file__` magic currently being used.