StemVibrations / STEM

STEM: Numerical model to simulate railway induced vibrations
https://stemvibrations.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
9 stars 1 forks source link

remove pkg_resources from __init__.py #232

Open aronnoordam opened 3 months ago

aronnoordam commented 3 months ago

pkg_resources is not available in python 3.12.

From the documentation:

Use of pkg_resources is deprecated in favor of importlib.resources, importlib.metadata and their backports (importlib_resources, importlib_metadata). Some useful APIs are also provided by packaging (e.g. requirements and version parsing). Users should refrain from new usage of pkg_resources and should work to port to importlib-based solutions.

aronnoordam commented 2 months ago

relevant for release versions, e.g. v.1.1