There was an error while loading. Please reload this page.
1 parent 7483d26 commit 861f659Copy full SHA for 861f659
1 file changed
offsets_db_data/data.py
@@ -1,5 +1,6 @@
1
+from importlib.resources import files
2
+
3
import intake
-import pkg_resources
4
-catalog_file = pkg_resources.resource_filename('offsets_db_data', 'catalog.yaml')
5
+catalog_file = files('offsets_db_data').joinpath('catalog.yaml')
6
catalog = intake.open_catalog(catalog_file)
0 commit comments