mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Skip M2Crypto in Windows.
Wwe're installing M2CryptoWin{32,64} which comes compiled
This commit is contained in:
parent
1ea426e299
commit
915da594c2
1 changed files with 4 additions and 0 deletions
4
setup.py
4
setup.py
|
@ -128,6 +128,10 @@ def _parse_requirements_file(requirements_file):
|
|||
continue
|
||||
if IS_WINDOWS_PLATFORM and 'libcloud' in line:
|
||||
continue
|
||||
if IS_WINDOWS_PLATFORM and 'M2Crypto' in line and __saltstack_version__.info < (2015, 8): # pylint: disable=undefined-variable
|
||||
# In Windows, we're installing M2CryptoWin{32,64} which comes
|
||||
# compiled
|
||||
continue
|
||||
parsed_requirements.append(line)
|
||||
return parsed_requirements
|
||||
# <---- Helper Functions ---------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Reference in a new issue