Skip to content Skip to sidebar Skip to footer

How Can I Display Vcs Revision Of Python Package Installed With Pip From Vcs?

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

Solution 1:

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).

Post a Comment for "How Can I Display Vcs Revision Of Python Package Installed With Pip From Vcs?"