Open tlestang opened 5 months ago
Use of module pkg_resources to find pakcage data is deprecated. It's part of setuptools which, when switching to pyproject.toml (see #43) will not be installed at runtime anyway.
pkg_resources
pyproject.toml
See https://setuptools.pypa.io/en/latest/pkg_resources.html
In our case, I think it's sufficient to define a global DATA_PATH variable that contains the path to the data/ directory.
DATA_PATH
data/
Use of module
pkg_resources
to find pakcage data is deprecated. It's part of setuptools which, when switching topyproject.toml
(see #43) will not be installed at runtime anyway.See https://setuptools.pypa.io/en/latest/pkg_resources.html
In our case, I think it's sufficient to define a global
DATA_PATH
variable that contains the path to thedata/
directory.