DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import resource_string
import importlib.resources as importlib_resources
__all__ = ["DX", "CCP4", "gOpenMol"]
DX = importlib_resources.files(__name__) / 'test.dx'
We use pkg_resources:
Use importlib instead, along the line of
(from https://github.com/MDAnalysis/GridDataFormats/blob/master/gridData/tests/datafiles/__init__.py where this was recently fixed)