Add check for pypiwin32 also

This commit is contained in:
twangboy 2018-01-03 14:33:06 -07:00
parent 15317951fc
commit c933f46c6a
No known key found for this signature in database
GPG Key ID: 93FF3BDEB278C9EB

View File

@ -367,6 +367,9 @@ class InstallPyWin32Wheel(Command):
if get_installed_version('pywin32') is not None:
print('PyWin32 already installed')
return
if get_installed_version('pypiwin32') is not None:
print('PyWin32 already installed')
return
# Install PyWin32 from Salt repo
from pip.utils import call_subprocess
from pip.utils.logging import indent_log