I didn't know about pyscaffold. get_distribution comes from setuptools which is a library to distribute Python projects.
That part I believe is about finding the package version at runtime.
I'd say unless you're shipping a library it's probably overkill.
In what cases would you need to find the package version at runtime?
Probably for conflict resolution in case multiple packages require your library with different versions...
I'm sorry Sean, I don't know much about this topic :(
It's alright.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I didn't know about pyscaffold. get_distribution comes from setuptools which is a library to distribute Python projects.
That part I believe is about finding the package version at runtime.
I'd say unless you're shipping a library it's probably overkill.
In what cases would you need to find the package version at runtime?
Probably for conflict resolution in case multiple packages require your library with different versions...
I'm sorry Sean, I don't know much about this topic :(
It's alright.