Reputation: 1286
Can I use pkg_resources to check the version of a package from a git repository?
When I use the code pkg_resources.require("git+https://github.com/example/example@a1b2c34#egg=example")
, it fails to parse it.
Is there a better way to programmatically check the version of a package from a git repository to know whether it needs to be installed?
Upvotes: 0
Views: 51