Skip to content

Commit

Permalink
This step could be simplified or removed if pip could report the vers…
Browse files Browse the repository at this point in the history
…ion of the package it was about to install. See pypa/pip#53
  • Loading branch information
wallrj committed Oct 16, 2014
1 parent 75725ee commit 3f0522c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions admin/packaging.py
Expand Up @@ -172,6 +172,11 @@ class GetPackageVersion(object):
Record the version of ``package_name`` installed in ``virtualenv_path`` by
parsing the output of ``pip show``.
XXX: This wouldn't be necessary if pip had a way to report the version of
the package that it is about to install eg
``pip install --dry-run http://www.example.com/my/wheel.whl``
See: https://github.com/pypa/pip/issues/53
:ivar FilePath virtualenv_path: The path of the ``virtualenv`` containing
the package.
:ivar bytes package_name: The name of the package whose version will be
Expand Down

0 comments on commit 3f0522c

Please sign in to comment.