Closed Quentin-Pinot closed 8 months ago
thanks for the PR! i think the best approach is to get rid of the __version__
variable altogether. users can use importlib.metadata
on their own. other projects seem to be going this route (see flask: https://github.com/pallets/flask/blob/7b5e176d1ab23e183d0403573358299ed6562dce/src/flask/__init__.py#L46-L60).
once i have a moment to modernize this package, i'll go ahead and do that.
thanks anyway for the PR!
Hello,
I've been inspired by this issue to modernize the package by replacing the deprecated pkg_resources by importlib.metadata.