Install cryptography only on linux platform
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
This commit is contained in:
parent
1d4cc917ce
commit
eb2c39ed2b
1 changed files with 2 additions and 1 deletions
|
@ -14,4 +14,5 @@ mypy >= 0.780
|
||||||
# Install cryptography to avoid import-error reported by pylint.
|
# Install cryptography to avoid import-error reported by pylint.
|
||||||
# What we really need is cryptography >= 35.0.0, which is only
|
# What we really need is cryptography >= 35.0.0, which is only
|
||||||
# available for Python >= 3.6.
|
# available for Python >= 3.6.
|
||||||
cryptography # >= 35.0.0
|
cryptography >= 35.0.0; sys_platform == 'linux' and python_version >= '3.6'
|
||||||
|
cryptography; sys_platform == 'linux' and python_version < '3.6'
|
||||||
|
|
Loading…
Reference in a new issue