Closed potash closed 9 years ago
It seems like the problem originates from the different __file__
attributes for different eggs. The following may work more cleanly:
import pkg_resources
gsod_station_index_filename = pkg_resources.resource_string('eemeter', os.path.join('resources','GSOD-ISD_station_index.json'))
The following code
seems to work in some environments but
ought to put us in the parent of ee-meter so really we should use
Why does the former work at all?