mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #7763 from s0undt3ch/develop
Expand the `pip` library requirement.
This commit is contained in:
commit
9ccf0896b5
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user