After installing some package with pip from vcs like this
pip install git+https://github.com/kennethreitz/requests.git@355b97165c#requests
how can I display the vcs revision/commit/branch/tag (355b97165c in this example) used to install it?
After installing some package with pip from vcs like this pip install git+https://github.com/kennethreitz/requests.git@355b97165c#requests how
Share
There’s currently no way to do this because url used during installation is not being recorded anywhere. However there’s work in progress to add such functionality. See Continuing Feature/record download info pull request.
I’d like to thank dstufft from #pip IRC channel for answering my question and pointing me to this pull request (which builds upon his pull request).