Merge branch 'fix/cryptography_version' into 'master'

Update minimum version for cryptography package required

See merge request idf/esp-idf!3712
This commit is contained in:
Angus Gratton 2018-11-19 15:27:45 +08:00
commit 6709d26863
2 changed files with 3 additions and 3 deletions

View file

@ -7,4 +7,4 @@ setuptools
#
pyserial>=3.0
future>=0.15.2
cryptography
cryptography>=2.1.4

View file

@ -44,13 +44,13 @@ if __name__ == "__main__":
import cryptography
except ImportError:
print("Please run the following command to install MSYS2's MINGW Python cryptography package:")
print("pacman -S mingw-w64-i686-python%d-cryptography" % (sys.version_info[0],))
print("pacman -Sy mingw-w64-i686-python%d-cryptography" % (sys.version_info[0],))
failed = True
try:
import setuptools
except ImportError:
print("Please run the following command to install MSYS2's MINGW Python setuptools package:")
print("pacman -S mingw-w64-i686-python%d-setuptools" % (sys.version_info[0],))
print("pacman -Sy mingw-w64-i686-python%d-setuptools" % (sys.version_info[0],))
failed = True
if failed:
sys.exit(1)