You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am wondering if there is an efficient way to support fetching the versions of Python packages that don't follow the __version__ convention, gurobi's Python API for example?
should take care of it. But if pkg_resources can find the version, we have the manual brute-force approach in the lines below. I guess there is not really a better way than brute-forcing these.
The cleanest way, I believe, would be through the metadata package (from the stdlib), but it's Python 3.8-only (#56) so that it's not that useful, yet.
I am wondering if there is an efficient way to support fetching the versions of Python packages that don't follow the
__version__
convention,gurobi
's Python API for example?Or would this have to be (1) a brute-force search through the entire directory; or (2) a manual
print()
for the version.The text was updated successfully, but these errors were encountered: