Merge pull request #7763 from s0undt3ch/develop

Expand the `pip` library requirement.
This commit is contained in:
Pedro Algarvio 2013-10-11 13:11:35 -07:00
commit 9ccf0896b5

View File

@ -136,6 +136,12 @@ def installed(name,
This usually means having the system's pip package installed or running
Salt from an active `virtualenv`_.
The reason for this requirement is because ``pip`` already does a
pretty good job parsing it's own requirements. It makes no sense for
Salt to do ``pip`` requirements parsing and validation before passing
them to the ``pip`` library. It's functionality duplication and it's
more error prone.
.. _`virtualenv`: http://www.virtualenv.org
'''
if pip_bin and not bin_env: